Archive

Archive for September, 2011

Easy running nose tests with two and more named attribute

September 30th, 2011 No comments

For running tests there are a lot of different tools. One of them is nose-python. You can easily split tests by groups using “attr” annotation. More info in the doc . But doc don’t say how to run tests when you must choose more than one attribute. It is easy:

nose -A "type=='unit' or type=='apitest'"