spock
spock copied to clipboard
Query:How to Define TestSuite in spock
I am using spock in my grails project. I wan to run the test classes in a sequence order. When I run all the test cases in a package it runs randomly. I am using linux os. How can we run the test classes in a sequence order. Or How to define test suit in spock .
Spock is realized by a custom JUnit runner on the base class Specification.
So I guess you can simply do it the normal JUnit way.
Have one class annotated with @RunWith(Suite) and the @SuiteClasses annotation