mercredi 20 avril 2016

How to run suite of Geb Tests in Grails app

I would like to run multiple Geb tests/spec using JUnit's funcionality. Run in Grails app using grails test-app -unit TestSuite do not execute Spec tests. What is a right way?

import org.junit.runner.RunWith
     import org.junit.runners.Suite

         @RunWith(Suite.class)
         @Suite.SuiteClasses([
             HotelPageSpec.class,
             TourSearchSpec.class,
             MyToursSpec.class,

         ])

         public class TestSuite {
         }

Aucun commentaire:

Enregistrer un commentaire