尝试在 teamcity 中运行 nunit3.0 测试。如果我使用任何其他 nunit 版本,它工作正常。我正在使用以下配置来运行测试。你能告诉我我在这里缺少什么吗?
Teamcity 抛出以下错误:-
[10:04:39][Step 3/3] 2) Error : UI.AutomationTest.SmokeTests
[10:04:39][Step 3/3] System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
[10:04:39][Step 3/3] ----> System.Exception : No application configuration found for GRP and environment Dev.
问题在于相对路径。Nunit3.0 控制台不支持任何相对路径。