Versions Compared

Key

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

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

DUnitX

Image RemovedImage Added

Name

A friendly name for this action (will be displayed in the actions workflow area).

...

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


Settings

Image RemovedImage 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. 


Options

Image Added

Fail if any tests fail

If any tests fail the build will be stopped and marked as a failure. Untick this option to continue the build when tests 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.

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).

...

If this is ticked, any warnings logged will not mark the action with a warning status.

Fail if any tests fail

If any tests fail the build will be stopped and marked as a failure. Untick this option to continue the build when tests 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.


Environment

Image RemovedImage Added

Environment Variables

...