Skip to content

TestCaseFilter not working anymore with Microsoft Test Platform #4704

Open
@tomap

Description

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

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions