views:

159

answers:

2

I'm writing quite a few unit tests and using nosetests to run them. Nose certainly makes it nice and easy to run tests, but the output can be pretty cluttered at the best of times, and a downright mess at others, depending on warnings and errors.

I was wondering if there are any visual tools that wrap nose so that the feedback cleaner. A results grid showing test names, run times and indicating success/failure status with colours would be a huge visual aide. Better still, if it could split up the error messages and tracebacks on a case by case basis, it would really cut down on the amount of clutter when a large number of tests fail on a major change.

This is starting to read like a wishlist, but does anything even close to this exist?

+2  A: 

There's a very similar question here.

It doesn't look like there's a standardized GUI for nosetests (as in, standardized for just the python interface). There seems to be a few GUI plugins for nosetests depending on which IDE you're using - a quick search brought up this link for Komodo.

However, there are many other GUI based unit testing frameworks out there for Python - have you tried PyUnit?

Daniel May
@nosklo: Whoops. Cheers for that.
Daniel May
Good suggestion, but the PyUnit GUI leaves a lot to be desired in terms of feedback.
Soviut
A: 

Have you taken a look at the Nose plugins page? A quick glance revealed at least a couple that stated they could provide a GUI interface.

Amber
Only one said it could and it needed to be integrated into the Komodo IDE.
Soviut