Bug #872906 “python -m testtools.run discover -v doesn't set ver...” : Bugs : testtools (original) (raw)

python -m testtools.run discover -v doesn't set verbosity

This bug affects 3 people

Affects Status Importance Assigned to Milestone
testtools Triaged Medium Unassigned

Bug Description

I'm trying to get the list of tests that i'm running. "discover" allows a "-v" argument, but the default implementation does nothing.

I want something like:
$ py -c "import sys; from testtools import run; import unittest; prog = run.TestProgram(testRunner=unittest.TextTestRunner(verbosity=2), stdout=sys.stdout)" discover

This is compounded by the fact that testscenarios.TestWithScenario not showing up for --list