Replies: 2 comments
-
Yeah, we can probably have a query parameter to enable that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Time flies. I don't think this is possible as we're dependent on what gets passed to us by pytest (core). Afaict we only get the test source on failures. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The default pytest output for failed tests includes the whole function definition for the failed test, which ends up embedded in the html report. Is there a way to get the function definitions for passed tests to be embedded in the html report also? The idea is that someone reviewing a report might be interested in knowing exactly what was tested in any given scenario, and may not be able to easy access the actual test source code.
Beta Was this translation helpful? Give feedback.
All reactions