Hello
Situation
Consider the following test module:
def test_will_fail():
assert False
def test_will_succeed():
assert True
Given the following quarantine.txt file:
test_that.py::test_will_fail
Running the test suite with the following command line
pytest --quarantine quarantine.txt --save-quarantine quarantine.txt
causes the quarantine file to be empty.
Expectation
I would have expected quarantined tests still failing not to be removed from the newly generated quarantine.
Proposal
Do not remove tests already quarantined from the quarantine file if they fail to complete.
If this behavior is to be kept, propose an option for doing so.
Side note
I can propose a PR if you want.
Environment
- python: 3.6.8
- pytest: 6.0.1
- pytest-quarantine: 2.0.0
Hello
Situation
Consider the following test module:
Given the following quarantine.txt file:
test_that.py::test_will_failRunning the test suite with the following command line
pytest --quarantine quarantine.txt --save-quarantine quarantine.txtcauses the quarantine file to be empty.
Expectation
I would have expected quarantined tests still failing not to be removed from the newly generated quarantine.
Proposal
Do not remove tests already quarantined from the quarantine file if they fail to complete.
If this behavior is to be kept, propose an option for doing so.
Side note
I can propose a PR if you want.
Environment