mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Add option for re-running failed tests.
This adds the option '--rerun' to the `test-backend` infrastructure. It runs the tests that failed during the last 'test-backend' run. It works by stailing failed test info at var/last_test_failure.json Cleaned up by Umair Khan and Tim Abbott.
This commit is contained in:
@@ -46,7 +46,9 @@ tests.
|
||||
Another thing to note is that our tests generally "fail fast," i.e. they
|
||||
stop at the first sign of trouble. This is generally a good thing for
|
||||
iterative development, but you can override this behavior with the
|
||||
`--nonfatal-errors` option.
|
||||
`--nonfatal-errors` option. A useful option to combine with that is
|
||||
the `--rerun` option, which will rerun just the tests that failed in
|
||||
the last test run.
|
||||
|
||||
## How to write tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user