I'm using VS2013 with the built-in unit test framework. I've created a .runsettings file that sits in the Solution Items folder. When I select Test -> Test Settings -> Select Test Settings File, I am able to choose my .runsettings file and it works as expected.
When I exit out of VS2013 and then re-load the project, I have to re-select the .runsettings file. Is there any way to set the default .runsettings file at solution level so it gets persisted?
runsettings . To autodetect the run settings file, place it at the root of your solution.
Code coverage formats Different formats may be useful across different editors and pipelines. You can enable this in runsettings by adding <Format>Cobertura</Format> or <Format>Xml</Format> in the DataCollector configuration section in your runsettings file.
According to http://msdn.microsoft.com/en-us/library/jj635153.aspx, by selecting the .runsettings file you created using the menu options you have indicated, you should not have to keep selecting it each time you restart Visual Studio.
The docs do warn about using the SettingsFile option: "If you specify this value, you must also set the ForcedlegacyMode to true."
Make sure you are using the latest update to Visual Studio 2013 (Update 1). Also, you can try resetting your IDE settings through Tools->Import and Export settings->Reset all settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With