-
Notifications
You must be signed in to change notification settings - Fork 43
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
Implement use of .runsettings file #133
Comments
Hi, P.S. Forgive me if I posted the question at a wrong place. |
@Kanwar27 If we implement this (see next paragraph) then it would have the same features as the NUnit 3 VS adapter, which includes parameters for use by your tests. I'm taking this off the backlog for the moment and marking it for discussion. It's not clear if there will be a separate V2 adapter in the future or if the two adapters will be merged. There's no point in adding features to this one if it won't continue as a separate package. |
Thanks for your reply. Infering from coversation above I presume we would have something similar for Nunit in .runsettings file. Would it be possible to provide debug args as we could do for nunit Gui? Problem is we have multiple class library projects which are being run from Nunit console application. Switching to Nunit adapter leads me to loose ability for specifying "Debug" command line arguments. P.S: I tried upgrading to nunit 3.x but couldn't because :
If you could please give an example for providing debug command line args for nunit I might go through all botheration of changing functions manually. Thanks and Regards |
@Kanwar27 which functions have been removed in NUnit 3 that you rely on? The only major breaking change that most people complain about is the removed Also, if you are using the adapter in Visual Studio, why do you also need the GUI? Just trying to understand your workflow so we can prioritize work on the GUI. Have you tried the pre-release version of the GUI? |
@rprouse Thanks for providing workaround link. That, would help me to go to 3.x Just need a way to pass Command line arguments inside Debug. Please refer to image below: Regards |
@Kanwar27 The option panel you are showing is part of Visual Studio, not the NUnit Gui. It has a space for setting the arguments of a program called "NUnitHost", which seems to be your own program. You can set the options for any executable you run, including nunit3-console.exe, if you choose to use that. Perhaps it would be clearer for us if you indicated what kinds of options you want to set in the adapter by giving some examples. |
@Kanwar27 if NUnitHost is your own NUnit test runner, as @CharliePoole said, you can do the same thing by setting Start external program in your test project (likely not NUnitHost) to the path to nunit3-console.exe and in the command line arguments, pass |
Personally -- I'm all for having a single package that can work with NUnit 2 or NUnit 3. |
Implement as for NUnit 3 adapter. Needed to support several other issues.
The text was updated successfully, but these errors were encountered: