Skip to content
Fabian Te edited this page Oct 26, 2018 · 1 revision

Reporter options

  • output (string)
    Outputs as a TRX file into the provided path. If not provided, outputs to stdout.
  • treatPendingAsNotExecuted (boolean)
    Pending tests (tests without implementation, or maked with .skip) have an outcome of NotExecuted instead of Pending in the TRX file.
  • excludePending (boolean)
    Tests with a Pending state are excluded from the TRX file.
  • warnExcludedPending (boolean)
    When combined with excludePending, writes a warning to stderr with the number of tests that have been excluded because they had the state Pending, if the number is more than 0.

Using multiple options

If you want to use multiple options, seperate them with a , like this:

--reporter-options treatPendingAsNotExecuted,output=./test-result.trx

Clone this wiki locally