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

NUnit Description option for Junit test reports #48

Open
spoilerdo opened this issue Nov 26, 2021 · 2 comments
Open

NUnit Description option for Junit test reports #48

spoilerdo opened this issue Nov 26, 2021 · 2 comments

Comments

@spoilerdo
Copy link

spoilerdo commented Nov 26, 2021

Hiii, I have the following question:
Is it possible to have the NUnit descriptions available in a Junit test report as name?
This would be cool to have as an extra option in the CLI.

Example of description:
image

@Siphonophora
Copy link
Collaborator

I do think this is possible, but I don't think we would want to substitute the description for the name. For a parameterized test, we would loose the parameter info which is needed to point uniquely to the case. So that isn't an option.

So a best case might be something like name="TestMethodName(1, true) 'Description of the test'". I think this would often be awkwardly long, but whether or not it displays ok is probably down your CI platform. Are there examples where not having the description is a problem, or its just a nice to have?

If we made this change, it would need to cover the xunit and mstest equivalents.

@spoilerdo
Copy link
Author

nice to have

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

2 participants