void np_set_output_format ( np_runner_t *  runner,
const char *  fmt 
)

Parameters:
runner the runner object
fmt string naming the output format
Set the format in which test results will be emitted. Available formats are:

  • "junit" a directory called reports/ will be created with XML files in jUnit format, suitable for use with upstream processors which accept jUnit files, such as the Jenkins CI server.

  • "text" a stream of tests and events is emitted to stdout, co-mingled with anything emitted to stdout by the test code. This is the default if np_set_output_format is not called.

Note that the function is a misnomer, it actually adds an output format. Also note that if the C++ API were documented, you could write your own output formats by deriving from np::listener_t.


Generated on Tue Jan 29 15:58:43 2013 for NovaProva by  doxygen 1.5.8