On Aug 17, 8:23 pm, David House wrote: > > Note that the
unittest module now supports the `skip' and > `expectedFailure' decorators,
which seem to describe some of the > solutions here. > > Seehttp://
docs.python.org/3.1/library/unittest.html#skipping-tests-and-e... > > -- >
-David Yes, indeed! I'
2009/8/16 Terry :
> Thanks for the solutions. I think the decorator idea is what I'm look
> for:-)
Note that the unittest module now supports the `skip' and
`expectedFailure' decorators, which seem to describe some of the
solutions here.
See
http://docs.python.org/3.1/library/unittest.html#skipp
On Aug 16, 5:25 pm, Duncan Booth wrote:
> Ben Finney wrote:
> > Terry writes:
>
> >> It seemed the to me that python unittest module does not support the
> >> counting of ignored test cases directly. Is there any ready solution
> >> for this?
>
> > One solution I've seen involves:
>
> > * a cust
Ben Finney wrote:
> Terry writes:
>
>> It seemed the to me that python unittest module does not support the
>> counting of ignored test cases directly. Is there any ready solution
>> for this?
>
> One solution I've seen involves:
>
> * a custom exception class, âTestSkippedâ
>
> * raisin
Yes, should be more than 200. But now 187+ are running (some are
'ignored').It's
a personal project, I just don't feel safe without all the testing as it
grows bigger and bigger.
On Sun, Aug 16, 2009 at 11:40 AM, John Haggerty wrote:
> So you are saying you have several hundred tests you have t
So you are saying you have several hundred tests you have to do on your
program?
On Sat, Aug 15, 2009 at 7:04 PM, Terry wrote:
> Hi,
>
> I have some 100s unittest cases with my python program. And sometimes,
> I did quick-and-dirty work by ignoring some test cases by adding an
> 'x' (or somethin
Terry writes:
> It seemed the to me that python unittest module does not support the
> counting of ignored test cases directly. Is there any ready solution
> for this?
One solution I've seen involves:
* a custom exception class, ‘TestSkipped’
* raising that exception at the top of test cases y
In article
,
Terry wrote:
> Hi,
>
> I have some 100s unittest cases with my python program. And sometimes,
> I did quick-and-dirty work by ignoring some test cases by adding an
> 'x' (or something else) to the beginning of the case name.
> As time pass by, it's very hard for me to find which t
Hi,
I have some 100s unittest cases with my python program. And sometimes,
I did quick-and-dirty work by ignoring some test cases by adding an
'x' (or something else) to the beginning of the case name.
As time pass by, it's very hard for me to find which test cases are
ignored.
It seemed the to m