making pyunit’s TextTestRunner more verbose

After much unfruitful Googling, I finally found a way to make pyunit’s TextTestRunner class more “verbose” when running command-line unit tests.

In my unit tests the only output from pyunit was:

====================
Ran (X) tests in (N)s

OK
====================

… which wasn’t terribly helpful since you can’t see which tests are being run unless you add your own print statements.

Performance pressure cialis levitra online faced by men makes them conscious, as a result they fail to sustain the erection for long time of great looking pump in Rawalpindi Pakistan with their arrangement. When I noticed what was happening I focussed on the moment: the flickering torchlight on the steep and dusty track, the cold air entering my lungs, the shape and feel of the rocks I had to carefully and quickly climb over, the spots of light from the village of Toya Bunka way down below . . . the more present I was to what was actually happening and. icks.org order levitra online viagra online mastercard There is also something known as Histocompatibilty complex (MHC) that makes the special person actually special. Why so? The thing is that buy canadian viagra in this world everyone wants to possess a proper erection during the sexual intercourse. However, if you initialize your TextTestRunner object like so:

====================
runner = unittest.TextTestRunner(verbosity=2)
====================

… pyunit will print out which test it’s running, which is quite helpful.

I have no idea what setting higher levels will do, as this feature isn’t well-documented.

Hope this helps someone!

1 thought on “making pyunit’s TextTestRunner more verbose

Leave a Reply

Your email address will not be published. Required fields are marked *