0

Is there a way to run the tests within a spec in sequence?

@Stepwise
class TestSpec extends GebReportingSpec {

    def 'A'(){
        //
    }

    def 'B'(){
        //
    }

    def 'C'(){
        //
    }

}

Is there a way I can force A to run before B and B to run before C?

Thanks, Shravanthi

lakshmi
  • 385
  • 3
  • 8
  • 18

1 Answers1

0

It should run in this order but with @Stepwise, you will keep the session between the features.

ontk
  • 942
  • 1
  • 10
  • 24