Logs are not shown when running test
RomainGoussault opened this issue · 4 comments
RomainGoussault commented
When running the test with pytest, the logs are not shown.
arthurPignet commented
I wonder if it is really an issue.
The log of pytest would became totally unreadable don't you think ?
RomainGoussault commented
Yes you are right.
I think my use case when I opened this issue was being able to see the logs when writing the tests. Is there some king of argument to pytest to be able to see the logs ?
arthurPignet commented
Pytest shows the log captured when there is a bug, or a test failed
I don’t think you can see the log is everything run well. Maybe with -vv ? I saw that somewhere.
However I think that you could test your tests Without pytest ? In a notebook, or in a small script
Arthur Pignet
… Le 11 déc. 2020 à 14:01, Goussault Romain ***@***.***> a écrit :
Yes you are right.
I think my use case when I opened this issue was being able to see the logs when writing the tests. Is there some king of argument to pytest to be able to see the logs ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
arthurPignet commented
I think we can close the issue in that case, the library does'nt need any change ?