Versions Compared

Key

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

...

The VSTest action can be used to run automated unit and coded UI tests. VSTest.Console.exe is optimized for performance and is used in place of MSTest.exe as of Visual Studio 2012.

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

...

The target platform architecture to be used for test execution. [/Platform:]


Options

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

Environment Variables

...