I can run tests in the workflow folder using nosetests :
workflow maks$ nosetests .......... ---------------------------------------------------------------------- Ran 10 tests in 0.093s OK
my tests live in the test folder:
workflow maks$ ls __pycache__ iterations.py test data iterationsClass.py testData env iterationsClass.pyc
But when I go to the parent directory:
(py3env)Makss-Mac:workflow maks$ cd ..
Cannot find tests.
(py3env)Makss-Mac:Packages maks$ nosetests ---------------------------------------------------------------------- Ran 0 tests in 0.005s OK
So how to do nosetest search tests in all subdirectories?
Maxim Yefremov
source share