Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
The DotNet Test action in Continua CI is a wrapper around the .Net Core command line tools. If you're having trouble using the DotNet Test action, please refer to the .NET Core Command Line Tools documentation.

The DotNet Test action is used to run unit tests on a .Net project using the configured test runner.

DotNet Test

Image RemovedImage Added

Name

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

...

Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.


Settings

Image RemovedImage Added

Configuration

The configuration to use when building the project. This defaults to "Debug" if left empty. [--configuration]

...

The name of a data collector to collect code coverage data for the test run. [--collect]


Flags

Image RemovedImage Added

No build

Set this flag to skip the building phase of the testing process. [--no-build]

...

This option is helpful in isolating the problematic tests causing test host to crash. It creates an output file in the working directory as Sequence.xml that captures the order of tests execution before the crash. [--blame]


Additional Arguments

Image RemovedImage Added

Additional Arguments

Use this to specify additional MSBuild command line arguments and properties. Note that these will placed at the end of the command line and will override any other matching settings.


Options

Image RemovedImage Added

Fail action if any tests fail

...

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


Environment

Image RemovedImage Added

Environment Variables

...