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

Change testsuite name property in JUnit xml #78

Open
venka66 opened this issue Apr 12, 2024 · 0 comments
Open

Change testsuite name property in JUnit xml #78

venka66 opened this issue Apr 12, 2024 · 0 comments

Comments

@venka66
Copy link

venka66 commented Apr 12, 2024

I'm using dotnet test with the junit logger option to run my tests. The tests are compiled into a binary before they are run and the name of the binary is used as the testsuite name in the JUnit XML file, example - E2ETests.dll.

<testsuites>
<testsuite name="E2ETests.dll" tests="5" skipped="1" failures="2" errors="0" time="76.0077336" timestamp="2024-04-11T16:31:15" hostname="hostname" id="0" package="E2ETests.dll">

I would like to change the name of the testsuite in the XML file without modifying the binary. Is there an existing method or plan to allow changing the testsuite name that can be provided to dotnet test --logger option?

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

1 participant