Continuous Testing
File | Settings | Build, Execution, Deployment | Unit Testing | Continuous Testing for Windows and Linux
JetBrains Rider | Settings or Preferences | Build, Execution, Deployment | Unit Testing | Continuous Testing for macOS
note
Preferences configurable on this page are saved using the mechanism of layer-based settings.
Trigger Continuous Testing on | This preference specifies a trigger for autostarting tests in the continuous testing mode.
To help you find the balance between the build time and the relevance of the coverage data, dotCover offers you three build options for Save and Shorcut triggers:
|
When running tests, shadow-copy | This preference allows you to configure shadow-copying for NUnit tests when you use Continuous Testing. You may need to change this preference if you reference files from your tests with a relative path. You can choose one of the following options:
Tests start folder is a folder from which an assembly with tests is loaded. It can be either the assembly's build output folder or a custom folder if it is specified in the Run tests from preference on the ReSharper | Options | Tools | Unit Testing page of JetBrains Rider options. Note that this preference only works for NUnit tests. For other unit testing frameworks, JetBrains Rider does not change their original shadow-copying behavior. If necessary, you can use a number of properties to get the base path and build relative paths from the code of your tests:
The following properties will lead to the original test start folder if Shadow-copy assemblies and symbol files option is selected, and to the temporary folder otherwise:
|