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

TestCaseFilter not working anymore with Microsoft Test Platform #4704

Open
tomap opened this issue Jan 17, 2025 · 1 comment
Open

TestCaseFilter not working anymore with Microsoft Test Platform #4704

tomap opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
Area: Testing Platform VSTest Bridge Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library

Comments

@tomap
Copy link

tomap commented Jan 17, 2025

Hello,

I switched recently to Xunit v3 and MS Test Platform (enabled in VS Preview Features) + Enabled via true

I'm using a .RunSettings file:

( Category !~ Integration )

Before the migration to xunit v3 + MS Test Platform, this filter was taken into account into VS Test Explorer
After the migration, this filter is not taken into account anymore

My workarround is to run filter via the trait column

Image

Is there a solution to filter via a runsetting (or equivalent)?

I opened a ticket on xunit repo, but @bradwilson redirected me here xunit/xunit#3134

Thank you

Thomas

@nohwnd nohwnd transferred this issue from microsoft/vstest Jan 17, 2025
@nohwnd
Copy link
Member

nohwnd commented Jan 17, 2025

Moved here, because this is a Microsoft.Testing.Platform issue.

@Youssef1313 Youssef1313 added the Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library label Jan 17, 2025
@Evangelink Evangelink self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Testing Platform VSTest Bridge Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library
Projects
None yet
Development

No branches or pull requests

4 participants