Replies: 3 comments
-
im not aware of a viewer there are some ideas for providing replay for pytest however we haven't had a opportunity to implement that as well having someone try and create a viewer would be a useful input towards better data in report-log as well |
Beta Was this translation helpful? Give feedback.
-
I'm curious what your use-case is there. You say "see that it streams output as the tests are running" - but if you want to look at the pytest output during the test run, why do you need to take a detour over reportlog at all? |
Beta Was this translation helpful? Give feedback.
-
My use case is that tests will be logging some messages as they are running. At any given point, I would like to know what test is running and what it is doing. Since log messages are captured by pytest and added to the reporting, I wanted to watch the report log as tests are running. But may be report log is not the right solution here. I will take a look at https://docs.pytest.org/en/stable/how-to/logging.html and see how I can create a log for my tests. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I just started using pytest-reportlog and see that it streams output as the tests are running, which is a definite improvement over old junit report. But you do need to write some kind of a parser to see the log messages in a human friendly way. I wanted to know if there is already such a viewer available, before I go ahead and write a small script.
Thanks,
Raghu
Beta Was this translation helpful? Give feedback.
All reactions