Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fundakol committed Feb 26, 2022
1 parent 8638eed commit 69016cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,21 @@ or
Usage
-----

Mark a test with JIRA XRAY test ID
Mark a test with JIRA XRAY test ID or list of IDs

.. code-block:: python
# -- FILE: test_example.py
import pytest
@pytest.mark.xray('JIRA-1')
def test_one():
def test_foo():
assert True
@pytest.mark.xray(['JIRA-2', 'JIRA-3'])
def test_bar():
assert True
Jira Xray configuration can be provided via Environment Variables:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Expand Down

0 comments on commit 69016cd

Please sign in to comment.