Pat
Pat

Reputation: 16911

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

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)?

Upvotes: 1

Views: 49

Answers (1)

Nathan Stocks
Nathan Stocks

Reputation: 2164

It's not currently possible with green.

Upvotes: 0

Related Questions