unittest colored output

前端 未结 9 2093
予麋鹿
予麋鹿 2020-12-13 17:39

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.

9条回答
  •  误落风尘
    2020-12-13 17:53

    I've also found another colouring plugin for nose: YANC at https://pypi.python.org/pypi/yanc

    Works for me with Python 3.5 and nose 1.3.7 (I couldn't get any of the other options for nose listed above to work)

提交回复
热议问题