Add verbosity to texttestresult
Bug #1153837 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
The texttestresult doesn't print dots or test names, as the unittest one does.
It would be nice to add this, with a verbosity argument to decide what to print. Most of the things can just be copied from unittest.
Is there a reason not to do it?
I need it right now, so I inherited from testtools texttestresults and added the prints. I'll add some tests and make an MP to see if you like it.
To post a comment you must log in.
On 12 March 2013 12:43, Leo Arias <email address hidden> wrote:
> Public bug reported:
>
> The texttestresult doesn't print dots or test names, as the unittest one does.
> It would be nice to add this, with a verbosity argument to decide what to print. Most of the things can just be copied from unittest.
>
> Is there a reason not to do it?
Well, those things are generally useless in large projects: they
aren't parallel execution friendly, and they don't tell you about
single hung tests in a usable fashion.
> I need it right now, so I inherited from testtools texttestresults and
> added the prints. I'll add some tests and make an MP to see if you like
I think jml and I would both rather like to delete our custom result
object, if we can make the glue code make it entirely redundant.
What are you doing that you want to extend the testtools
TextTestResult rather than e.g. the unittest one?
-Rob
--
Robert Collins <email address hidden>
Distinguished Technologist
HP Cloud Services