Open hugorodgerbrown opened 8 years ago
As the runner itself doesn’t read this file but you have to use it with some shell magic (from README.rst: python manage.py test < $(cat test-rerun.txt)
), there’s no way to implement this via the runner module itself. You may try this:
python manage.py test < $(grep -v '^#' test-rerun.txt)
Even if we add this as an extra line to the README, it'll help some users
Yes, but as a new test run – even if the test count is reduced – will overwrite test-rerun.txt
, the commented test cases will be lost.
Sometimes it would be really useful to be able to run a subset of the test failures by commenting out the ones you don't want to run. Could use the python
#
style.This should probably also be related to #4