0

I have tried following command in command prompt.

C:\ProgramFiles()x86\nunit.org\nunit-console>"nunit3-console.exe" "E:\UnitTesting\TestsProject\obj\Release\Tests.dll"

I am getting the following error in console. nunit console error message

What is wrong here?

Chris
  • 5,882
  • 2
  • 32
  • 57
Shesha
  • 1,857
  • 6
  • 21
  • 28

1 Answers1

3

NUnit 3 will by default try and write the test results to the working directory.

Your working directory here is Program Files, which it appears the process does not have permission to write to. You can set a different directory for the output files using the --work option. (Docs)

Chris
  • 5,882
  • 2
  • 32
  • 57