Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
prakashfinezoom opened this issue Oct 3, 2023 · 2 comments

Comments

@prakashfinezoom
Copy link

prakashfinezoom commented Oct 3, 2023

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:

  • task: UseDotNet@2
    inputs:
    packageType: sdk
    version: '7.0.x'
    displayName: 'Use .NET SDK'
  • script: dotnet build --configuration Release
    displayName: 'Build'
  • script: pwsh bin/Release/net7.0/playwright.ps1 install --with-deps
    displayName: 'Install Playwright browsers'
  • script: dotnet test --configuration Release
    displayName: 'Run tests'

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
Copy link
Member

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

@Evangelink Evangelink transferred this issue from microsoft/testfx Oct 5, 2023
@nohwnd
Copy link
Member

nohwnd commented Oct 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants