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
I want to output a set of tests using pytest --collect-only -q to a file, and run selected subsets of it using pytest
Describe the solution you'd like
I want to collect tests to run and put them in a file (supported today, except -q or a similar flag to leave out all output except the actual test names)):
> pytest --collect-only -q > tests_to_run.txt
And then tell pytest to run tests listed in that file (or from stdin), like e.g.:
> pytest --from-file tests_to_run.txt
I want to run selected subsets of the tests to find bugs caused by interdependencies between a set of tests.
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered:
What's the problem this feature will solve?
I want to output a set of tests using
pytest --collect-only -q
to a file, and run selected subsets of it usingpytest
Describe the solution you'd like
I want to collect tests to run and put them in a file (supported today, except
-q
or a similar flag to leave out all output except the actual test names)):And then tell
pytest
to run tests listed in that file (or from stdin), like e.g.:I want to run selected subsets of the tests to find bugs caused by interdependencies between a set of tests.
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered: