python-nose

How to organize python test in a way that I can run all tests in a single command?

Currently my code is organized in the following tree structure: src/ module1.py module2.py test_module1.py test_module2.py subpackage1/ __init__.py moduleA.py moduleB.py test_moduleA.py test_moduleB.py Where the module*.py files contains the source code and the test_module*.p...

Any way to show error and backtrace with nosetests --pdb

Is there a way to get nosetests --pdb to automatically show you the error you're trying to debug, as well as a backtrace, BEFORE dumping you into pdb? i.e. instead of: awagner@hesse:/home/awagner/optimization/illumination_search$ nosetests --pdb test_bool_rep (optimization.illumination_search.test_subset_search.SubsetSearchTest) ... ok ...