[TIP] Running tests

Aaron Maxwell amax at redsymbol.net
Wed May 6 17:35:35 PDT 2009


On Wednesday 06 May 2009 11:16:43 am C. Titus Brown wrote:
> hi all,
>
> How do you all run your tests?  And is there a Python-wide standard
> anywhere for how to run them?

make test

Standard target name with makefiles.  I've used this in pretty much all my 
code for years, in python and other languages.  Standardized on it so that I 
don't have to grope around remembering the test command on that project I 
haven't touched in six months.

Of course, this assumes a unixy environment, and that you like gnu make.


-- 
Aaron Maxwell
http://redsymbol.net/



More information about the testing-in-python mailing list