VSTest Runsettings samples
This blog is a collection of useful runsettings files that would help drive the VSTest runner. You can find documentation and schema of the runsettings xml here.
|TestRunParametersrunsettings||These are key-value pairs you pass into your tests based on the environment they are run on or simply a dynamic configuration that the tests need. More details here|
|TestAdaptersPathsrunsettings||One or more paths pointing to where custom test adapters are located.|
|AssemblyResolutionrunsettings||Helps specify additional resolution paths to search for dependencies when running tests. This is only applicable for MSTest based tests.|
|DataCollector - Dynamic Code coveragerunsettings||Enables dynamic code coverage for the test session.|
|Emulator 10.0 Anniversary editionrunsettings||Enables running UWP based tests on an Emulator 10.0.14393.0 WVGA 4 inch 512MB.|
|Emulator 8.1runsettings||Enables running UWP based tests on an Emulator 8.1 WVGA 4 inch 512MB.|
|Devicerunsettings||Enables running UWP based tests on a Windows Phone Device.|
|AppxInstallTimeoutrunsettings||Specifies the installation timeout for a UWP test projects app package. The default value is 30 seconds and if for some reason the app takes longer time to install, then this helps tell the vstest engine to wait the specified amount of time before it decides that something went wrong with the app install and terminate connection with a "Error: (0x5B4) Operation timed out. Unable to install Windows app package in 30 sec"|
Happy unit testing!