简体   繁体   English

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

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

I'm trying to run Nunit unit tests using finalbuilder/continua and it's simply not working and I don't know why. 我正在尝试使用finalbuilder / continua运行Nunit单元测试,但它根本无法正常工作,我也不知道为什么。 I just get this 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. 另外,请确保正确设置了工作区和存储库规则,以将文件复制到代理。

I have the following configuration: 我有以下配置:

在此处输入图片说明

I'm building the dll before hand: 我先构建dll:

在此处输入图片说明

I can see the dll in (what I think is) the right directory: 我可以在正确的目录(我认为是)中看到dll:

在此处输入图片说明

I turned on verbose logging but it's not helpful. 我打开了详细日志记录,但这没有帮助。 I just get the same information again: 我只是再次得到相同的信息:

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

what am I missing here? 我在这里想念什么?

There appears to be an 's' missing from your file path. 您的文件路径中似乎缺少“ s”。

Change: 更改:

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

to

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

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

相关问题 尝试从最终生成器运行NUnit时出现错误“表达式['$ Agent.NUnit.3.0.Path $'存在]评估为False”吗? - Error “The expression ['$Agent.NUnit.3.0.Path$' exists] evaluated False” when trying to run NUnit from final builder? 通过 jenkins 执行批处理命令不提取文件,尽管它在作为 bat 文件运行时提取 - batch command execution through jenkins not extracting files though it extracts when run as bat file TeamCity并行运行Nunit测试 - TeamCity run Nunit tests in Parallel 在Bamboo中运行NUnit webdriver测试 - Run NUnit webdriver tests in Bamboo 执行连续集成时找不到头文件 - Header files not found when performing continuous integration 在部署的站点上使用teamcity运行Nunit测试 - Run Nunit tests using teamcity on deployed site 从TeamCity运行NUnit测试时出现FileNotFoundException - FileNotFoundException when running NUnit tests from TeamCity 在已部署的项目上部署后如何运行NUnit测试 - How to run NUnit tests after deploy on deployed project 尝试运行测试时,CircleCi上的com.android.ddmlib.InstallException - com.android.ddmlib.InstallException on CircleCi when trying to run tests 在Bamboo上执行nunit任务时出错(尝试从nuget包中运行它) - Error with nunit task on bamboo (try to run it from nuget packages)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM