[TIP] Selectively running test packages with nose
gary.bernhardt at gmail.com
Tue Apr 6 16:26:57 PDT 2010
With an old version of nose (probably 0.10), I happily did things like
"nosetests mypackage.tests.unit" for years, where "unit" was a
package. With 0.11.3, this doesn't work; it finds no tests.
I also tried "nosetests mypackage/tests/unit". It finds the tests,
runs them, and then fails ("No module named mypackage"). This
What are you guys using to segregate test suites nowadays? Clearly,
I've missed something.
More information about the testing-in-python