How can I set .runsettings for MsTest in JetBrains Rider?
I tried File | Settings | Build, Execution, Deployment | Unit Testing | MSTest
and choose the .runsettings file in Test Settings but this has no effect.
How can I set .runsettings for MsTest in JetBrains Rider?
I tried File | Settings | Build, Execution, Deployment | Unit Testing | MSTest
and choose the .runsettings file in Test Settings but this has no effect.
The location may have changed since the original question, but I've found it here:
JetBrains Rider
> Preferences...
> Build, Execution, Deployment
> Unit Testing
> MSTest
You may have a checkbox Enable MSTest support
which you can check (although seems to be removed in latest Rider version) and there's also a path to your test settings file in the Test Settings
box.
© 2022 - 2024 — McMap. All rights reserved.
<s:Boolean x:Key="/Default/Environment/UnitTesting/MsTestProvider/UseTestRunConfigFromMetadataFile/@EntryValue">True</s:Boolean>
. If it does, change it to false. Or you can do it via VisualStudio: go to "ReSharper | Options | Tools | Unit Testing | Test Frameworks | MsTest -> Test Settings" and switch it to "Use specific test setting file" instead of "Use .runconfig/.testsettings selected in VS UI", then save settings. – Delmerdelmor