Is any possible the report to be generate only for fail tests not when the test cases are passed? #528
Unanswered
CosteaIonut89
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Just to clarify: Do you want the entire report to only be generated if there are failures? Or you do you only want failures in the report? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using this command
pytest -v -s --html=report.html --self-contained-html --capture=tee-sys -rx --verbose --maxfail=6 testCases/test_signup_0.py
and I want the report to be generated only when the test cases fail not when the test cases pass. I tried to edit in the conftest but no results in that way.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions