You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can use the VSTest action to run automated unit and coded UI tests using the VSTest.Console.exe command line. VSTest.Console.exe is optimized for performance and is used in place of MSTest.exe as of Visual Studio 2012.

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.


 Assembly Files

Specify the paths to the assemblies to test - one per line. You can use Ant patterns to match multiple files.

Settings File

Path to an optional run settings file.

Tests

An optional list of test names separated with commas. 

Test Case Filters

An optional list of test case filter expressions in the format <property>=<value>[|<Expression>].

E.g. TestCategory=Nightly|FullyQualifiedName=Namespace.ClassName.MethodName

Using

The Using drop down is populated with any property collector whose namespace matches the pattern defined by the VSTest Action. The pattern for this action is ^VSTest.Console*

If you create a property collector for this action, make sure you select the Path Finder PlugIn type and give it a name that will match the pattern above in blue.

For more in-depth explanations on property collectors see Property Collectors.

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.



Use VSIX extensions

This makes vstest.console.exe process use or skip the VSIX extensions installed (if any) in the test run.

In isolation

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 

Target .NET Framework version to be used for test execution. 

Platform Architecture

Target platform architecture to be used for test execution.

 



  • No labels