title: Pytest run only tests with specific marker attribute
body: <p>I'm using <code>@pytest.mark</code> to uniquely identify specific tests, therefore I created my custom marker.</p>
  <pre><code>@pytest.mark.key
  </code></pre>
  <p>I'm using it as such:</p>
  <pre><code>@pytest.mark.key(&quot;test-001&quot;)
  def test_simple(self):
      self.passing_step()
      self.passing_step()
      self.passing_step()
      self.passing_step()
      assert True
  </code></pre>
  <p>Now from the console I would like to run all tests with the marked key &quot;test-001&quot;. How can I achieve this?</p>
  <p>What i'm looking for is something like this:</p>
  <pre><code>pypi.org/project/pytest-jira/0.3.6
  </code></pre>
  <p>where a test can be mapped to a Jira key. I looked at the source code for the link but i'm unsure how to achieve it in order for me to run specific tests. Say I only wanna run the test with the key &quot;test-001&quot;.</p>