mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
test-backend: Default to running all tests.
This switches the default of the previous --nonfatal-errors option, and also moves to use the `-x | --stop` names used by the nose test framework.
This commit is contained in:
@@ -44,12 +44,12 @@ URL coverage, and slow tests. Use the `-h` option to discover these
|
||||
features. We also have a `--profile` option to facilitate profiling
|
||||
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. A useful option to combine with that is
|
||||
the `--rerun` option, which will rerun just the tests that failed in
|
||||
the last test run.
|
||||
By default, `test-backend` will run all requested tests, and report
|
||||
all failures at the end. You can configure it to stop after the first
|
||||
error with the `--stop` option (or `-x`).
|
||||
|
||||
Another useful option is `--rerun`, which will rerun just the tests
|
||||
that failed in the last test run.
|
||||
|
||||
**Webhook integrations**. For performance, `test-backend` with no
|
||||
arguments will not run webhook integration tests (`zerver/webhooks/`),
|
||||
|
||||
Reference in New Issue
Block a user