如何将VSProjectLoader扩展纳入dotnet-nunit CLI全局安装?
NUnit控制台运行器扩展相关问题
- 已通过以下命令全局安装NUnit控制台运行器:
dotnet tool install -g nunit.consolerunner.netcore - 工具可正常运行,但必须手动列出包含测试用例的文件,无法实现预期的内置自动测试发现功能。
- 注意到工具存在扩展点,其中
NUnit.Extension.VSProjectLoader扩展应该能解决自动发现的问题,但尝试将其作为dotnet工具安装时出现错误:Cannot find a manifest file. For a list of locations searched, specify the "-d" option before the tool name. If you intended to install a global tool, add `--global` to the command. If you would like to create a manifest, use `dotnet new tool-manifest`, usually in the repo root directory. - 此前已尝试执行
choco install nunit-extension-vs-project-loader,但仍未实现预期功能。 - 疑问:是否可以将此扩展作为
dotnet-nunitCLI工具的全局安装部分?希望无需修改源代码即可实现。
内容的提问来源于stack exchange,提问作者user32882
相关产品推荐
相关产品推荐

