This might be a Spock question vs a Geb question but I'm hoping someone 
here can help.  We currently have our Smoketests setup to run by tagging 
them with @Category. 

So we have an interface class setup like this:

[image: Screen Shot 2021-02-26 at 9.50.38 AM.png]

This allows us to tag any test we want to run as a smoke test with 
@Category(SmokeTest).  We have a grade job setup that will run all tests 
with this tag that uses useJUnit and the includeCategories to grab those 
tags:
[image: Screen Shot 2021-02-26 at 9.53.20 AM.png]

I know Spock 2.0 removes Category and breaks this setup completely and I'm 
not really sure how to fix this.  I've read that Category has been replaced 
with @Tag, but I don't know how this works with changing the interfaces and 
the gradle job to run them correctly.  As soon as I update to Spock 2.0 it 
all breaks.  

I'd really appreciate some input on how to fix this, or like some insights 
on how others are tagging their tests to run Smoke tests.

-- 
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/7475af8f-92dc-40f9-8ec5-c145b06ddc8bn%40googlegroups.com.

Reply via email to