Skip to content

feat: add support for xUnit.v3 #3097

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: add support for xUnit.v3 #3097

wants to merge 1 commit into from

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Jan 23, 2025

This PR is an attempt to add support for xUnit.v3. The difference is that by default it uses MTP (Microsoft Testing Protocol) which means test discovery and execution are in two different processes. In order to workaround this we are serialising the settings as an environment variable which reaches the execution process later on.

Context:

Fixes #3093

@jonathh21
Copy link

Can I plus one this with ever fibre of my being.

Having just looked over the wrap sheet for v3... I'd really like to be able to take screenshots and have them attached to the test results.

@nohwnd
Copy link
Member

nohwnd commented Apr 15, 2025

Hacky, but I cannot think about a better way to do this.

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

Successfully merging this pull request may close these issues.

[Feature]: Playwright.Xunit should have a V3 variant
3 participants