Search code examples
pythonunit-testingnosenosetests

List all Tests Found by Nosetest


I use nosetests to run my unittests and it works well. I want to get a list of all the tests nostests finds without actually running them. Is there a way to do that?


Solution

  • Version 0.11.1 is currently available. You can get a list of tests without running them as follows:

    nosetests -v --collect-only