[Mono-dev] NUnit versions that come with mono

xplicit svg at ngs.ru
Thu Jan 29 20:27:30 UTC 2015


Use nuget to install NUnit of the version you needed, and you won't be
dependent on the OS you're working with.

#this installs nunit-console 2.6.4 
nuget install NUnit.Runners

#this installs nunit-console 2.6.3
nuget install NUnit.Runners -version 2.6.3

To run:
chmod a+x NUnit.Runners.2.6.4/tools/nunit-console.exe
nunit-console.exe <your_dlls>

or write sh file similar to /usr/bin/nunit-console

if you need NUnit not only to run the test, but also to reference it in the
projects, then add nuget package NUnit to the test project and before build
run

nuget restore <your_solution.sln>

If you're working with monodevelop, it can to restore nuget packages from
GUI, without command-line interacting.



--
View this message in context: http://mono.1490590.n4.nabble.com/NUnit-versions-that-come-with-mono-tp4665376p4665384.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list