Calvin Spealman wrote: > This is something I have been wanting to find for a while, but i > haven't figured out. I really would love to know if there is some way > I can report extra information while running unittests, and have that > information appear along with the tracebacks, so its near the relevent > test's results.
Several test runners (py.test, testoob, nose) will trap stdout and stderr and only display them if that test fails. Then you can simply use print statements in your test methods. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list