question on nunit-console command for UITest

I got 2 question here:
1. I have nunit-2.6.4 installed. But why the unit-console always run with the older version which is 2.4.8 ?

See the response here:
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment -
OS Version: Unix 14.5.0.0
CLR Version: 4.0.30319.17020 ( 4.2.1 (explicit/6dd2d0d Fri Nov 6 12:25:19 EST 2015) )

.N.N.N.N.N.N.N.N.N.N.N.N
Tests run: 0, Failures: 0, Not run: 12, Time: 0.022 seconds

  1. I am running a command as below (To execute my UITest locally from command line):
    nunit-console4 /Users/jwei-lim/projects/MOBPro/Dev/Pro/ProUITest/bin/Debug/ProUITest.dll

Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/Library/Frameworks/Mono.framework/Versions/4.2.1/bin/TestResult.xml" is denied.

How to resolve this?

Best Answer

Answers

  • tohweitohwei USMember ✭✭
    edited April 2016

    I have figured out that before your answer. Managed to run it as one of my build steps in CI.
    Also realised that the package downloaded from NUGET in my solution was the one without the executable file.
    Anyway, thanks :)

Sign In or Register to comment.