Closed gryznar closed 9 months ago
Consider this code:
import pytest @pytest.mark.parametrize('param1, param2', [(1, 1)]) def test_foo(param1, param2): raise AssertionError
And execute with:
pytest --alluredir=allure
Wait for finish and:
pytest --alluredir=allure --last-failed
Expected: Second run should override first one. As a result there should be one test in Allure report.
Current: Allure cannot match parametrized tests and in report there are 2 tests.
Consider this code:
And execute with:
Wait for finish and:
Expected: Second run should override first one. As a result there should be one test in Allure report.
Current: Allure cannot match parametrized tests and in report there are 2 tests.