[TIP] Green and Red bars

Natalia Bidart nataliabidart at gmail.com
Sun Oct 10 07:54:31 PDT 2010

On Sat, Oct 9, 2010 at 6:46 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> Natalia Bidart <nataliabidart at gmail.com> writes:
>> I'm finding some problems on actually getting a *green* or *red* bar
>> using the unittest runner.
> Right. The standard ‘unittest’ library includes only a basic reporter
> and defines a loose interface for making new ones, leaving it up to
> others to implement fancier reporters.
>> But since I'm giving this talk to potential newbies on testing, I
>> would like to stick to showing/using only unittest (and unittest2),
>> and to not depend on trial (though I will mention/recommend it at the
>> end).
> You won't be able to get a colour report from ‘unittest’ without some
> extras.
> A quick search of PyPI gives some possibilities
> <URL:http://pypi.python.org/pypi?:action=search&term=red%20green%20unittest&submit=search>.

Thank you for the pointers! I'll test these options. Though I was
hoping I wasn't gonna need to introduce a new tool, but seems like I

More information about the testing-in-python mailing list