n are run, and other tests are not run. Alternatively if --first is given, matching tests are run first and then all other tests are run. This is useful if you have been working in a particular area, but want to make sure nothing else was broken. If --exclude is given, tests that match that regular expression are excluded, regardless of whether they match --first or not. To help catch accidential dependencies between tests, the --randomize option is useful. In most cases, the argument used is the word 'now'. Note that the seed used for the random number generator is displayed when this option is used. The seed can be explicitly passed as the argument to this option if required. This enables reproduction of the actual ordering used if and when an order sensitive problem is encountered. If --list-only is given, the tests that would be run are listed. This is useful when combined with --first, --exclude and/or --randomize to understand their impact. The test harness reports "Listed nn tests in ..." instead of "Ran nn tests in ..." when list mode is enabled. If the global option '--no-plugins' is given, plugins are not loaded before running the selftests. This has two effects: features provided or modified by plugins will not be tested, and tests provided by plugins will not be run. Tests that need working space on disk use a common temporary directory, typically inside $TMPDIR or /tmp. If you set BRZ_TEST_PDB=1 when running selftest, failing tests will drop into a pdb postmortem session. The --coverage=DIRNAME global option produces a report with covered code indicated. :Examples: Run only tests relating to 'ignore':: brz selftest ignore Disable plugins and list tests as they're run:: brz --no-plugins selftest -v c