List all Tests Found by Nosetest

Cristian picture Cristian · Apr 3, 2009 · Viewed 8.8k times · Source

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?

Answer

oneself picture oneself · Jul 20, 2009

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

nosetests -v --collect-only