【发布时间】:2022-09-30 23:28:20
【问题描述】:
我正在尝试从 Azure devops 中的测试计划运行自动化测试。 我在我的自动化测试管道中添加了一个任务来生成工件。 我创建了具有以下任务的测试管道版本:
问题是,当我从测试计划运行测试时,出现以下错误,指出没有测试程序集:
2022-09-22T15:27:08.6879981Z ##[error]ExecutionAndPublish.Run : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
2022-09-22T15:27:08.6882575Z at Microsoft.VisualStudio.TestService.VstestAdapter.Execution.Run(ExecutionStateContext stateModelContext, CancellationToken cancellationToken)
2022-09-22T15:27:08.6883354Z at Microsoft.VisualStudio.TestService.VstestAdapter.ExecutionAndPublish.Run(ExecutionStateContext stateModelContext, CancellationToken cancellationToken)
2022-09-22T15:27:08.6885647Z ##[error]The slice of type \'Execution\' is \'Aborted\' because of the error : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
-
我嵌入了构建配置的屏幕截图,因为它们很有用。请edit您的问题以纯文本形式包含错误消息。
标签: testing azure-devops continuous-integration automated-tests specflow