You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the tests in tickets are not self contained, meaning that they require some specific setup to be executed. Generally it is solved by using pytest fixture, but not all our code uses that.
Why it's needed? Py.test allows execution in parallel using pytest-xdist. It distributes the tests across workers simply sending each test case to a different worker. When using pytest-xdist, many test cases fail in current state.
This effort can be combined with moving tests from tickets to suites. To preserve the relation between the test and the issue in pagure we can use pytest marks.
The text was updated successfully, but these errors were encountered:
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49335
Some of the tests in tickets are not self contained, meaning that they require some specific setup to be executed. Generally it is solved by using pytest fixture, but not all our code uses that.
Why it's needed? Py.test allows execution in parallel using pytest-xdist. It distributes the tests across workers simply sending each test case to a different worker. When using pytest-xdist, many test cases fail in current state.
This effort can be combined with moving tests from tickets to suites. To preserve the relation between the test and the issue in pagure we can use pytest marks.
The text was updated successfully, but these errors were encountered: