Reputation: 6354
I am working on a Django project, and we are using nose-parameterized library. I can see all of the parameterized tests in the runner if I run the full class, but then if I try to run just by right clicking the test name, and clicking run or debug, pycharm fails to inject the parameters.
any ideas on how to get this workflow to work? as a workaround, i am making individual data driven test cases in single classes.
Upvotes: 1
Views: 881
Reputation: 81
You can run those parameterized test cases using:
--test= modulename/method name
e.g
nosetests -v test_file_name.py --test=modulename/method name,modulename2
Refer this link http://nose.readthedocs.org/en/latest/usage.html
Upvotes: 1