Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This action expects that dunitx DUnitX test executables will output NUnit compatible XML. DUnitX generates nunit NUnit compatible XML using TDUnitXXMLNUnitLogger  in DUnitX.Loggers.XML.NUnit.pas

Image RemovedImage Added

Test

...

Executable

Enter the path and file name of the executable you want to test.

...

XML Output Report

Enter the path and file name of where you want the test output to go. This should be located somewhere in the build workspace

Options File

Enter the path and file name of a file containing command line options. Adds the parameter -opt to the DUnitX command line.

 

Unit Tests File

Enter the path and file name of a file containing a list of unit tests to be run. Adds the parameter -rl to the DUnitX command line.

 

Unit Tests To Run

A list of unit tests to be run (each separated by a comma). Adds the parameter -r to the DUnitX command line. 

Options

Image Added

Categories To Include

A list of unit test categories to be included (each separated by a comma). Adds the parameter -i to the DUnitX command line. 

Categories To Exclude

A list of unit test categories to be excluded (each separated by a comma). Adds the parameter -e to the DUnitX command line. 

Hide licence banner

Tick to hide the licence banner when DUnitX is run. Adds the parameter -b to the DUnitX command line. 

Don't show ignored unit tests 

Tick to omit ignored unit tests from the results. Adds the parameter -dsl to the DUnitX command line. 

Timeout (in seconds)

How long to wait for the action to finish running before timing out. Leaving this blank (or zero) will default to 86400 seconds (24 hours).

Treat failure as warning

Tick to continue build on failure marking the action with a warning status.

Fail if any tests fail

If any tests fail the build will be stopped and marked as faileda failure. This option isn't applied to tests that have any errors. If a test errors then the build is stopped and marked as errored regardless of this option.Untick this option to continue the build when trests fail.

Fail if any tests error

If any tests error the build will be stopped and marked as an error. Untick this option to continue the build when tests error.