Home > Builds automation, Python > Easy running nose tests with two and more named attribute

Easy running nose tests with two and more named attribute

September 30th, 2011 Leave a comment Go to 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'"

 

  1. No comments yet.
  1. No trackbacks yet.