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

Warnings #185

Open
jchapelle opened this issue Sep 12, 2020 · 2 comments
Open

Warnings #185

jchapelle opened this issue Sep 12, 2020 · 2 comments

Comments

@jchapelle
Copy link

jchapelle commented Sep 12, 2020

Would it be possible to display warnings message and their source component ?

@jpaulin
Copy link
Contributor

jpaulin commented Oct 8, 2020

@jchapelle

pytest-dev/pytest#2717

There's ample talk about whether JUnit reporting structure (the XML schema) supports warnings at all.
Seems that JUnit has been designed to take a strict stance on every test resulting either a pass or error; with an additional one state that comes from the test running environment:
fail = a technical "test running issue" caused the test not to result in actually reliable information
error = test itself failed
pass = test itself passed

What would be a good method for showing warnings? I think it's worth considering. Probably as in other
talks about this, one thing to be careful about is that warnings would not break existing test
setups - otherwise it's gonna be a perhaps (too many) red blips in quality dashboards.

@jchapelle
Copy link
Author

jchapelle commented Oct 8, 2020 via email

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