nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

TextTestRunner is not being passsed resultclass #992

Open JBKahn opened 8 years ago

JBKahn commented 8 years ago

The unittest TextTestRunner takes a resultclass argument for using your own result class. Nose does not provide this argument on its interface. It would be nice if there was a hook to do this in nose. Was this a deliberate choice?

My use case, for example, is coloring the test output. Right now I'm monkey patching _makeResult to use my own class.