"未找到可测试文件。"当试图通过最终构建器运行NUnit时

时间:2017-10-12 08:13:25

标签: continuous-integration nunit finalbuilder

我试图使用finalbuilder / continua运行Nunit单元测试而且它根本不起作用,我不知道为什么。我刚收到这个错误:

enter image description here

  

找不到可测试的文件。检查您是否输入了有效路径   “文件”字段。还要确保工作空间和存储库规则   已正确设置以将文件复制到代理。

我有以下配置:

enter image description here

我事先建立了dll:

enter image description here

我可以在(我认为是)正确的目录中看到dll:

enter image description here

我打开了详细的日志记录,但它没有帮助。我再次获得相同的信息:

Medium: 08:52:38.824 {T12} [Debug] Running action 'NUnit MES_Helpers_Test (NUnitAction)'. 
Medium: 08:52:38.840 {T12} [Execute Action] Action 'NUnit MES_Helpers_Test' has failed due to an error: No testable files found. Check that you have entered valid paths for the Files field. Also ensure that the Workspace and Repository Rules are set up correctly to copy the files to the agent. 
Medium: 08:52:38.840 {T12} [Debug] Running action 'Build solution (MSBuildAction)'.

我在这里想念的是什么?

1 个答案:

答案 0 :(得分:2)

似乎有一个'从文件路径中丢失。

变化:

  

$工作区$ \输出\ MES_Helpers_Test \ MES_Helpers_Test.dll

  

$工作区$ \输出\ MES_Helpers_Test \ MES_Helpers_Test <强>取值的.dll