skipping whole class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

skipping whole class

Peter Uhnak
Is it possible to skip whole class from testing?
I could do "self skip" for individual methods, but the problems arise even in setUp so I would like to stop the whole class from being tested. Is that possbile?

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: skipping whole class

camille teruel

> On 01 Jul 2015, at 18:24, Peter Uhnák <[hidden email]> wrote:
>
> Is it possible to skip whole class from testing?
> I could do "self skip" for individual methods, but the problems arise even in setUp so I would like to stop the whole class from being tested. Is that possbile?

Yes it is: put a “self skip” in the setUp method :)

Camille

>
> Thanks,
> Peter


Reply | Threaded
Open this post in threaded view
|

Re: skipping whole class

Peter Uhnak
Of course... thanks :)

Peter

On Wed, Jul 1, 2015 at 6:44 PM, Camille <[hidden email]> wrote:

> On 01 Jul 2015, at 18:24, Peter Uhnák <[hidden email]> wrote:
>
> Is it possible to skip whole class from testing?
> I could do "self skip" for individual methods, but the problems arise even in setUp so I would like to stop the whole class from being tested. Is that possbile?

Yes it is: put a “self skip” in the setUp method :)

Camille

>
> Thanks,
> Peter