dotCover 2016.2 Help

Unit Testing

ReSharper| Options | Tools | Unit Testing

In this page of dotCover options, you can adjust unit testing settings.

ItemDescription
General
Default platform architecture This selector allows choosing a platform to run unit tests on.
Default .NET Framework version This selector allows setting .NET version to use when running unit tests.
Shadow-copy assemblies being tested If this check box is selected, assemblies being tested are subject to shadow-copying. So even while the tests are running, assemblies can be rebuilt.
Use separate AppDomain for each assembly with tests This option applies to MSTest and NUnit tests and lets the test runner start each test assembly in its own Application Domain. It may come in handy in the following situations:
  • You need to use different app.config files for different test assemblies.
  • You use reflection in tests.
Run up to [number of assemblies] assemblies in parallel Select the number of assemblies to be tested by dotCover concurrently in parallel threads.
Run tests from:

Click Project output folder to run compiled tests from the default location. When assemblies are placed in the default project location, test files are retrieved from the same location.

Click Specified folder to run tests using a post-build step, so the tests are run from the particular folder. Enter the desired path in the text box, or click Browse to open the Browse For Folder dialog and specify the desired location.

Skip tests from categories Type names of test categories to be excluded from the run. The tests associated with the category that you specified are ignored. For more information, see Working with Test Categories
Unit Test Sessions
Save and restore Unit Test Sessions Select this check box to allow dotCover to restore unit test sessions when you close and reopen Visual Studio.
Show log entries with severity higher or equal to: This selector lets you specify which log entries should appear in the execution log in the Unit Test Sessions Window and in the Continuous Testing Session Window .
Unit Test Output
Limit the number of lines in output to: Defines how to many lines should be displayed in the Output tab in the Unit Test Sessions Window.
Wrap long lines in Unit Test Session output Defines how to display long lines in the Output tab in the Unit Test Sessions Window. If this check box is selected, long lines are wrapped.

See Also

Last modified: 15 December 2016