在nunit控制台中指定路径

在nunit控制台中指定路径,nunit,Nunit,我可以指定要在nunit控制台中运行的dll的路径吗?如果可以,如何执行 我通常会在命令提示符下给nunit console testassembly1.dll,此处test assembly1.dll位于与nunit-console.exe相同的路径中,但我可以在不同的路径中运行dll。如果是这样,您只需将路径添加到命令行即可: nunit-console.exe c:\path\testassembly1.dll 如果路径包含空格,请在路径和文件名周围加引号: nunit-console.

我可以指定要在nunit控制台中运行的dll的路径吗?如果可以,如何执行


我通常会在命令提示符下给nunit console testassembly1.dll,此处test assembly1.dll位于与nunit-console.exe相同的路径中,但我可以在不同的路径中运行dll。如果是这样,您只需将路径添加到命令行即可:

nunit-console.exe c:\path\testassembly1.dll
如果路径包含空格,请在路径和文件名周围加引号:

nunit-console.exe "c:\path with spaces\testassembly1.dll"