Sunday 15 April 2012

python - How can I make py.test print stack traces for test failures / errors as they happen? -



python - How can I make py.test print stack traces for test failures / errors as they happen? -

default behaviour wait until whole test suite finish before printing out stack traces. can't seem find alternative print out stack traces each test completes. -s doesn't help.

checkout pytest-instafail. :)

python py.test

No comments:

Post a Comment