Azure Devops : No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria

Viewed 13

I'm trying to run automated tests from test plans in Azure devops. I've added a task in my automated test pipeline to generate artifacts. I've created a release of the test pipeline with the following tasks :

enter image description here

enter image description here

enter image description here

The problem is that when I run my test from my test plan, I have the following error saying that there is no test assemblies :

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. logs

0 Answers
Related