[pytest-dev] My gripes with pytest and tox

Nikolaus Rath Nikolaus at rath.org
Fri Jun 10 12:26:34 EDT 2016


On Jun 10 2016, Florian Bruhin <me-J2duszcpOy900TDglC2tyg at public.gmane.org> wrote:
> In no particular order:
>
> pytest
>     - has a weirdly structured documentation

Very much agree.

> pytest-catchlog
>     - is still not in pytest-dev or core or renamed to -logging
>     - still doesn't have pytest-logging functionality integrated
>     - has no easy way to check a list of log messages
>     - has no way to fail tests on unexpected error logging messages

Agreed. I'm extended it with code like
https://bitbucket.org/nikratio/python-llfuse/src/tip/test/pytest_checklogs.py,
but I think there's no way to ever make this pretty without some changes
to pytest.


Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


More information about the pytest-dev mailing list