2

When running tests with the NUnit GUI application, is it possible to change the location of where NUnit creates the TestResult.xml file after the test has completed? It is usually created in the same folder as the solution or dll file.

I know it can be changed when using the command line nunit-console.exe but I haven't been able to find an option to change it on the GUI.

2

After running my tests in NUnit GUI I can manually go into (Tools->Save Result as XML) then a file explorer is popped allowing me to select where the XML file is saved.

  • That option is disabled for me, is it only enabled after a test is run? – dmeehan May 8 '15 at 15:56
  • Update: Yes it is available after a test is run! – dmeehan May 8 '15 at 16:02
  • Yes sir, as soon as your suite or individual test is run; you should be able to follow the commands above! – DEnumber50 May 8 '15 at 16:04
  • 1
    I've edited this answer to indicate that the option is available AFTER a test run. – Kate Paulk May 11 '15 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.