Skipping tests with certain attributes in green like you can with nosetests

63 views Asked by At

I'm trying to get green to skip tests with certain attributes (e.g. ATTR=!slow) like you can do in nose (with @attr('slow') or just by assigning the test a property): http://nose.readthedocs.org/en/latest/plugins/attrib.html

http://nose.readthedocs.org/en/latest/usage.html

-a=ATTR, --attr=ATTR Run only tests that have attributes specified by ATTR [NOSE_ATTR]

Anyone know the syntax (assuming it's possible)?

1

There are 1 answers

0
Nathan Stocks On

It's not currently possible with green.