What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Oct 09, 2007 by jpellerin
FindingAndRunningTests  

Finding and running tests

nose, by default, follows a few simple rules for test discovery.

Be aware that plugins and command line options can change any of those rules.

Do not edit above this line. Content above this line is automatically generated and edits above this line will be discarded.

Comments


Comment by abhikshah, Jan 24, 2008

Clarification: To make nosetest ignore an object, it should define a test attribute that evaluates to false, not a test attribute. So, testfoo.test = False (not testfoo.test = False) will make nose ignore testfoo even though it looks like a test.

Comment by abhikshah, Jan 24, 2008
To make nose ignore an object, it should define a __test__ (two underscores before and after) attribute that evaluates to false.  Google's wiki code is removing the underscores.. :)
Comment by bslesinsky, Aug 30, 2008

This page leaves out the most important bit: what is the default value of testMatch?


Sign in to add a comment