簡體   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