-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of parameterized test #96
Comments
JSON format used to import Test results does not have |
Hi i can able to import results to jira by using below pytest hook. conftest.py:def pytest_runtest_call(self, item):
inputdict= item.callspec.params["test_case"]
test_key=inputdict.test_key
if not test_key == "":
item.add_marker(pytest.mark.xray(f'{test_key}')) |
Using the --allow-duplicate-ids option makes the plugin compatible with parametrized tests, however it will only include the overall result to Xray. If at least one iteration fails, the status of the parametrized test in XRAY will be failed. If all the itrations are passing the status in XRAY will be PASSED. |
It would be nice if parameterized tests would be supported as well.
So that tests which got executed in multiple iterations with different parameters as documented here.
An example you'll find below under key iterations
The text was updated successfully, but these errors were encountered: