Jeremy,

I thought that you asked this question once before and after searching
through the past messages to the list from you it turned out that I was
right. I will just link to my reply to your earlier email on the topic:
https://groups.google.com/d/msg/geb-user/7vIvuB64CFw/CvcUVnxmFQAJ.
Personally, I'd consider the need to skip the setup method on one or two
tests a smell as well as an indicator that these tests do not belong in the
spec in question and should probably be moved out to a separate spec.

Marcin

On Fri, May 1, 2020 at 6:50 PM jc <[email protected]> wrote:

> I think a good enhancement would be the ability to skip the setup() for
> particular tests.  For example I have 20 tests but 1 or 2 of them are
> slightly different and don't need the setup().  Perhaps a flag of
> setup: false
>
> on the method or something like that.  Just throwing the idea out there as
> I have had several time this has come up for me.  We can easily get around
> it by just creating a method of what we want and putting it in all the
> tests except the ones that don't need it but I thought maybe others have
> come across this.  Just want to throw an enhancement idea out there.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geb-user/306afc9f-0883-4a40-b16c-e786dbfde9a4%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/306afc9f-0883-4a40-b16c-e786dbfde9a4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQQt_i-1EESWL9fjO3ZMB5FwFXCaeFKb46nn4eg_R2oG%2Bw%40mail.gmail.com.

Reply via email to