Tests and logging - pytest-capturelog

Konstantin Veretennicov kveretennicov at gmail.com
Wed May 25 19:20:58 UTC 2016


On Tue, May 24, 2016 at 9:13 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> Hi
>
> Writing or debugging Kallithea tests can be frustrating. One reason is that
> there is no logging (AFAICS).
>
> I just found
>
> pip install pytest-capturelog
>
> which will make log output show up for failing tests. That seems to be very
> helpful! (It would perhaps be even more helpful if it showed up interleaved
> with stdout output ... but that is no big deal.)

That is indeed really really useful.

--
Konstantin


More information about the kallithea-general mailing list