On 12 November 2015 at 13:46, Andreas Pelme <andr...@pelme.se> wrote:
>>
>> On 12 nov 2015, at 14:34, Floris Bruynooghe <f...@devork.be> wrote:
>>
>>
>> Hopefully you find this useful if you use py.test and logbook.  Feel
>> free to give any feedback you might have.
>
> Thanks Floris.
>
> I’m using logbook and have a similar log_handler fixture that 
> initiates/pushes TestHandler. The reporting looks nice and is something I 
> lack with my hack. :)

Yeah, we had some ad-hoc fixtures for a while but started needing them
in multiple projects and got bored of copy-paste.  So that's what led
to cleaning it up and creating pytest-logbook.  If you migrate let me
know if you have anything tricky or if it's lacking some features.
One feature I've not included that we do locally is a check that
ensures no error or warning level messages have been logged unless the
test had a mark applied.  But I thought starting minimal would be a
best.
_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to