Update nunit-console at the command line

I am trying to upgrade nunit-console version 2.4.8 to the latest version, or at least to version 3. The only help I found on the Internet is Visual Studio and its update there, but I'm working on the MAC and in my VS already has the latest version.

I think what I'm looking for is about nuget on the command line, for example

nuget update nunit-console

but it gives me the following error

No packages.config, project or solution file specified. Use the -self switch to update NuGet.exe.

What is the right team or is there another way I need to go?

Thanks in advance

+4
source share
1 answer

Are you trying to update the nunit console that ships with Mono? You cannot update this simply using nuget.

NUnit, nuget, Mono. :

nuget install NUnit.ConsoleRunner

NUnit :

NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe

nunit3-console.exe :

mono full/path/to/NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe

, nunit3-console, nunit script /Library/Frameworks/Mono.framework/Versions/Current/Commands/nunit-console

#!/bin/sh
exec /Library/Frameworks/Mono.framework/Versions/5.8.0/bin/mono --debug $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/4.5/nunit-console.exe "$@"

script, NUnit, .

script /Library/Frameworks/Mono.framework/Versions/Current/Commands/, Mono.

+2

Source: https://habr.com/ru/post/1690956/


All Articles