Suppress printing of the test name on test execution #9093
Unanswered
JanValiVales
asked this question in
General
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just for demonstration purposes let's suppose I have a very simple test in a module test_simple.py:
When I run the test simply by:
I get an output:
Is there a way how to get rid of the test name, i. e. test_simple.py::test_example from the output? I was thinking about pytest_runtest_logstart in conftest.py, but I don't know how to use it to suppress the printing. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions