-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.runsettings file with VS Mac and NUnit 3 VS Adapter #778
Comments
Runsettings support in VS for Mac is currently on the backlog. https://developercommunity.visualstudio.com/idea/562230/how-to-select-runsettings-file-n-visual-studio-201.html In the meantime, my suggestion would be to use the integrated terminal in VS for Mac for test runs and specify the runsettings file at the command-line. |
Nothing new on that topic ? If creating an UI that allows selection of the runsettings file is too long, could we provide the runsettings by a parameter in the .config or by an environment variable ? |
Faced the same issue, here is how you can call it from commandline and provide a runsettings file
|
I don’t know if I am facing a bug or not, but the parameters of my .runsettings file are not accessible from the TestContext.Parameters variable when I run a test.
I am using VS Mac and I did not find a window to indicate the .runsettings to use, so I tried to add thoses lines of code to my .csproj, but that still does not work :
$(MSBuildProjectDirectory).runsettings
I am using NUnit with SPecFlow (if that matters).
Thanks for your help.
The text was updated successfully, but these errors were encountered: