Launch NUNIT with NUnit.Gui.AppEntry.Main
I am using NUNIT 2.5.8.10295 on Windows XP to run some Unit Test. As a convenience for my user, I let them Launch NUNIT from a WPF C# application. Following a suggestion on StackOverflow (http://
NUnit.Gui.
Everything works fine. The user hits the button, NUnit is launch. The user picks the test(s) he wants and runs them and gets his familiar green(or red) status bars. The problem occurs when the user dismisses NUNIT, goes back to the WPF app and then launchs NUnit again. On the second time an exception is thrown of type:
{"Object reference not set to an instance of an object."}
I've printed the stack trace last. Any ideas what's going on? Is it unreasonable to launch NUNIT from my main apps GUI? Is there a better way?
at NUnit.Util.
at NUnit.Util.
at NUnit.UiKit.
at NUnit.UiKit.
at NUnit.UiKit.
at NUnit.Gui.
at NUnit.Gui.
at NUnit.Gui.
at Tools.Transmitt
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- NUnit V2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Andrew Walker for more information if necessary.