Hi!
I have been tinkering and thinking about how to implement nose unit test support in cricket. The main difference that I have come across between nose and unittest (I'm not very experienced with either) is that 'free' methods can be unit tests with nose, whereas only class methods can be tests with unittest.
This leads to some ambiguity in the current source because dotted paths are ambiguous. Consider the hypothetical dotted path:
one.two.three.testMyTest
With nose three could be a class or it could be a module.
I would like to propose that the discover operation returns more than a simple list of strings containing dotted paths ie that the information about the components is also forwarded.
I think this would mean a change in how the discoverer is run - I think it would have to be run in-process. Currently it is done via subprocess, and the stdout is read. Is there a reason why this should remain as a subprocess call?
Regards,
amleto