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

Observation message when tests pass but they have an exception (e.g. pytest.raises) #11

Open
Sup3rGeo opened this issue May 29, 2018 · 0 comments

Comments

@Sup3rGeo
Copy link
Contributor

Sup3rGeo commented May 29, 2018

When a test is supposed to issue an exception and, for instance, catch with pytest.raises, the report can be a bit confusing.

If there is a failed step in a passing test, add a message saying this should be correct behavior tested by the test.

Change test color to yellow/orange and add message:
"Test passed, therefore this might be the correct behavior"

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