[TIP] Tag-based execution plugin for nose?

C. Titus Brown ctb at msu.edu
Tue Jun 24 10:24:14 PDT 2008


nosetests -a spam,cheese,crackers

def test_me():
   ...
test_me.spam=True
...

--t

On Tue, Jun 24, 2008 at 01:04:15PM -0400, Jesse Noller wrote:
-> Has anyone seen/used/made a tag-based test running for nose? I was
-> thinking about going down the path of writing one so I figured I'd ask
-> first :)
-> 
-> I'm thinking about something like nosetests
-> --tags="spam,cheese,crackers" which would then load all tests matching
-> those tags. I was thinking about embedding the tags in a __tags__ = []
-> attribute in each test.
-> 
-> -jesse
-> 
-> _______________________________________________
-> testing-in-python mailing list
-> testing-in-python at lists.idyll.org
-> http://lists.idyll.org/listinfo/testing-in-python

-- 
C. Titus Brown, ctb at msu.edu



More information about the testing-in-python mailing list