2
votes

I have installed mono-complete, nuget and nunit.

I am using NUnit Console Runner to run nunit test cases.

NUnit Console Runner 3.7.0 Copyright (c) 2017 Charlie Poole, Rob Prouse

Runtime Environment OS Version: Linux 4.4.0.1020 CLR Version: 4.0.30319.17020

Test Files SampleNUnit.dll

Errors, Failures and Warnings

1) Error : An exception occurred in the driver while loading tests. at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr) at (wrapper remoting-invoke) NUnit.Engine.Agents.RemoteTestAgent:Run (NUnit.Engine.ITestEventListener,NUnit.Engine.TestFilter) at NUnit.Engine.Runners.ProcessRunner.RunTests (ITestEventListener listener, NUnit.Engine.TestFilter filter) <0x40ae1bb0 + 0x000ae> in :0

Test Run Summary Overall result: Failed Test Count: 0, Passed: 0, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0 Start time: 2017-07-24 22:38:51Z End time: 2017-07-24 22:38:51Z Duration: 0.403 seconds

Thanks for the help so that I can run NUnit test cases.

1

1 Answers

0
votes

In the related NUnit issue you mention that you compile the one test file using mcs. If instead you compile using xbuild on your version of Mono (msbuild on newer versions), you will find that it works as expected.

xbuild /p:Configuration=Release NUnitTest.sln