Executing Specific Geb Tests according to environment
I have a set of Spec tests I am executing within a Grails Project. I need to execute a certain set of Specs when I am on local, and another set of Spec when I run the pre-prod environment. My current config is executing all my specs at the same time for both environements, which is something I want to avoid. I have multiple environments, that I have configured in my GebConfig: environments { local { baseUrl = "http://localhost:8090/myApp/login/auth" } pre-prod { baseUrl = "https://preprod/myApp/login/auth" } } erdi You could use a spock config file. Create annotations for the two types of