Versions Compared

Key

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

...

Info

The VSTest action in Continua is a wrapper around the VSTest.Console.exe command line. If you're having trouble using the VSTest action, please refer to the VSTest.Console.exe command-line options.

VSTest

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

Use VSIX extensions

...

Runs the tests in an isolated process. This makes vstest.console.exe process less likely to be stopped on an error in the tests, but tests might run slower.

Enable code coverage 

Enables data diagnostic adapter CodeCoverage in the test run. Default settings are used if not specified using settings file.

...

.Net Framework 

The target .NET Framework version to be used for test execution. 

Platform Architecture

The target platform architecture to be used for test execution.


Options

Image Added

Fail action if any tests fail

Tick this to cause the build to fail if any tests fail.

Fail action if any tests error

Tick this to cause the build to fail if an error occurred while running any test.

Fail action if any tests are inconclusive

Tick this to cause the build to fail if any tests are inconclusive.

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.

Ignore warnings

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

 

Environment

Image Removed

Image Added

Environment Variables

Multiple environment variables can be defined - one per line. These are set before the command line is run.

...