No subject
Tue May 4 01:15:03 PDT 2010
- It's possible to run tests in a single module using python -m
- It's possible to run tests in a single module
using setup.py test
* Supports multiple test runners
* Considers package meta-data
* Supports many other options (i.e. is more flexible)
- It's possible to run tests in all modules using python -m
with top-level test module
- It's possible to run tests in all modules
using setup.py test with top-level test module as the
argument
* Idem (see above)
AFAIK there's no built-in support for `load_tests` in `setuptools` .
Thus users should set test_suite as an alias for load_tests, or use
`-s load_tests` or something similar
All this mainly because traditional `test_suite` convention was
ignored while designing unittest discovery
PS: CMIIW
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
On adding AMF (RPC) support for Trac -
http://feedproxy.google.com/~r/simelo-en/~3/RDv-qDkEK_w/on-adding-amf-support-trac.html
More information about the testing-in-python
mailing list