繁体   English   中英

通过最终生成器尝试运行NUnit时,“找不到可测试的文件。”

[英]“No testable files found.” when trying to run NUnit though final builder

我正在尝试使用finalbuilder / continua运行Nunit单元测试,但它根本无法正常工作,我也不知道为什么。 我刚得到这个错误:

在此处输入图片说明

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

我有以下配置:

在此处输入图片说明

我先构建dll:

在此处输入图片说明

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

在此处输入图片说明

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

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)'.

我在这里想念什么?

您的文件路径中似乎缺少“ s”。

更改:

$ Workspace $ \\ Output \\ MES_Helpers_Test \\ MES_Helpers_Test.dll

$ Workspace $ \\ Output \\ MES_Helpers_Test \\ MES_Helpers_Test .dll

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM