CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
792 stars 75 forks source link

Report to stderr instead of stdout #48

Closed kxepal closed 9 years ago

kxepal commented 9 years ago

When green is used in Makefile, his report get buffered until all tests will not be executed.

Example to reproduce:

check:
    green <some-project-with-a-lot-of-tests>
coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 36268a2713727181a48318a565682e7362ce1fb4 on kxepal:print-to-stderr into 5de277f2428d61d7c49f49473be2c3e833acfe8a on CleanCut:master.

kxepal commented 9 years ago

Sorry, my problem was caused by grc which tried to apply own colours onto make output and for that it buffers stdout line-by-line, but not stderr output.

CleanCut commented 9 years ago

I am glad you got it working for your project!

kxepal commented 9 years ago

I'm glad that I found your project as well (: Colourful hierarchy report is awesome! And green runs tests much faster than nose or py.test does. For large suites that matters.

CleanCut commented 9 years ago

I agree. Speed definitely matters.