-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adding stack traces in xml_reports. #14
Comments
Thanks for reaching out. I don't exactly understand the request. It would help if you could give a concrete example, preferably including source code , to demonstrate the problem you want to solve, and how you would expect it to end up in the xml reports. |
@rspilker looking at the dart
Version
|
Pretty old issue, but it looks like the stack trace was being deliberately excluded from the JUnit output when a test failed an I've raised a pull request to fix this behaviour. I don't see any reason why the stack traces should be excluded from test failures - they provide useful information especially in large projects with lots of tests and test helper methods. |
I'm a bit in the fence. the reason it that in most cases, the only clutter up the output. I understand that if you have a lot of test helper classes and the actual However, I think in that case you're doing it wrong. I'm okay with having some helper code, but the actual comparison or verification of exception should always be done in the test function. So now you're asking me to add clutter to the output for those developers that are using best practices. I have a problem with that. I am considering adding a boolean opt-in command line parameter for also adding stack traces on failures. |
I've also encountered with this. An opt in flag would be great for our use case. |
Hey thank you for your help, this is a great tool!
I was wondering if you could add stack trace data in the report?
thank you
The text was updated successfully, but these errors were encountered: