[py-dev] Log to a file

Maciej Fijalkowski fijall at gmail.com
Thu Oct 15 19:31:34 CEST 2009


On Wed, Oct 14, 2009 at 9:56 PM, Simon <5kycsae02 at sneakemail.com> wrote:
> Hi!
>
> I would like to capture the verbose output of test runs to a file so that the debug is captured to a file regardless of whether the test failed or when the test is not running to completion.
>
> Is there an easy way of doing this via a command line option, or should I be perhaps modifying the resultlog plugin or something similar?
>
> Thanks,
>
> Simon

You know about py.test -s right?

Cheers,
fijal



More information about the Pytest-dev mailing list