2
我注意到,当我使用powershell运行dnx runner的测试时,它默认使用Debug配置。有什么办法可以告诉它使用不同的配置?xunit.runner.dnx设置用于运行测试的配置
喜欢的东西
"commands": {
"test": "xunit.runner.dnx -xml TestResults.xml -config Publish"
},
我注意到,当我使用powershell运行dnx runner的测试时,它默认使用Debug配置。有什么办法可以告诉它使用不同的配置?xunit.runner.dnx设置用于运行测试的配置
喜欢的东西
"commands": {
"test": "xunit.runner.dnx -xml TestResults.xml -config Publish"
},
这是一个DNX设置(和DNX命令行上被传递),而不是一个xUnit.net命令选项。
dnx --configuration Release test