Replies: 1 comment
-
Hi @TomKucera ! 👋🏻 Let's dive a bit deeper, why do you need to show logs inside testing ? To ensure the code is workinglaunch pytest with argument To test the message within the logsCapture the output. To capture the output, you can use this fixture.
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have problem with logging in Pystest.
I have code, which produces some detail logs about processing. When I run this code in Python, all runs fine. But when test the same code using PyTest, the code itself is running, but without logging.
Where could be reason of this behaviour?
Thank you for help.
Beta Was this translation helpful? Give feedback.
All reactions