Skip to content

test runner command line options

Lloyd Brookes edited this page Nov 25, 2019 · 1 revision
test-runner

  Minimal, flexible, extensible command-line test runner.

Synopsis

  $ test-runner [<options>] file ...

Options

  -t, --tree                      Inspect the supplied test-object-model structure without running the tests.
  -s, --silent                    Run without printing any output. Useful when you're only interested in the
                                  exit code.
  --max-file-concurrency number   Maximum number of input files to process concurrently. Defaults to 10.
  -c, --max-concurrency number    Maximum number of tests to process concurrently. Overrides all values set
                                  within the test object model.
  --view string                   Attach an alternative view. Specifiy either "oneline", "live", the path to a
                                  view class or the name of an installed view module.
  -h, --help                      Print this usage guide.
  --version                       Print the version number and exit.
  --debug                         Prints debug output. Use this when a test is misbehaving and you'd like to
                                  know why.

View options

  --view.hide-skips        Hide skipped tests.
  --view.hide-err-stack    Under a failed test, show the error message instead of the full error stack.
  --view.show-starts       Show test start events.

  For more information see: https://github.com/test-runner-js/test-runner