4 ms·
I really like nose (http://somethingaboutorange.com/mrl/projects/nose/ http://somethingaboutorange.com/mrl/projects/nose/). You can simply run "nosetests" in t
by warp 15y ago
I really like nose (http://somethingaboutorange.com/mrl/projects/nose/ http://somethingaboutorange.com/mrl/projects/nose/). You can simply run "nosetests" in the root of your project, and it will locate and run your tests.
nose will adjust sys.path to make sure your tests can find the packages they're testing. This may depend a bit on the layout you're using for your project, it has always worked for me so I have never had the need to look into HOW it works :)
- regularfry 15y agoI tend to find a bare "nosetests" catches a little more than I want it to, so I generally specify at least a test directory.