microsoft / vstest

Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
MIT License
895 stars 322 forks source link

"No test sources found matching the given filter '**\*,!**\obj\**' " error message is shown after automated tests with Azure Test Cases #4702

Closed prakashfinezoom closed 3 months ago

prakashfinezoom commented 1 year ago

Describe the bug

Step:1 I have created the azure repo with test file, playwright.snl file, playwright.csproj and yml file..

pool: vmImage: windows-latest

steps:

Step 2: Created the pipeline and ran the yaml file.

Step 3: Have followed the below link to create the release.

https://marcusfelling.com/blog/2020/associating-automated-tests-with-azure-test-cases/

Step 4: Done associating the testcase using visual studio and executed the test case.

Expected behavior

Test case should fail or pass

Actual behavior

Test case is in "In progress" status.

No Test source found warning occurs after executing the test case.

Evangelink commented 1 year ago

It seems to be similar to #4511. I think this is an error linked to Test Platform and not MSTest.

nohwnd commented 1 year ago

Are you sure the dll is there? Running with debugging enabled https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops#configure-verbose-logs usually lists all the files. You might also list them yourself by adding a separate step into the job.

You are searching in d:\a\r1\a, please list all the files there.