嘗試在teamcity中運行nunit3.0測試。如果我使用任何其他nunit版本,它工作正常。我正在使用以下配置來運行測試。你能告訴我在這裏錯過了什麼嗎? 無法從teamcity運行nunit 3.0測試
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控制檯不支持任何相對路徑。
鼓勵與外部資源的鏈接,但請在鏈接上添加上下文,以便您的同行用戶瞭解它是什麼以及它爲什麼在那裏。如果目標網站無法訪問或永久離線,請始終引用重要鏈接中最相關的部分。 – davejal