
8 Dec
2013
8 Dec
'13
1:13 p.m.
On Dec 07, 2013, at 02:27 PM, Giampaolo Rodola' wrote:
I just took a look at nosetests. It provides a similar thing and lets you use a regular expression (which indeed makes a lot more sense than using wildcards) It works like this:
nosetests test/test_module -m test_name
I use nose2 in several projects and have a nice little plugin that reproduces the most useful (for me) bits of zope testrunner for specifying test patterns. I can usually just do something like
$ nose2 -P test_this_one_thing $ nose2 -P TestThisWholeClass $ nose2 -P test_module $ nose2 -P test_things.rst
-Barry
P.S. Yes, nose2 *rocks* :)