I use unittest
(actually unittest2
) for Python testing, together with Python Mock for mocking objects and nose to run all tests in a single pass.
I miss being able to tell what is working and what's wrong at a glance from the green/red bars. Is there a way to get colored output from unittest?
(Changing test suite at this point is not an option, and I actually like unittest)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…