I have a specification that acts as an index and simply contains two links to other specifications:
import org.specs2.Specification
class MySpec extends Specification {
sequential
def is = {
"My Specification".title ^
"Sign-Up Specification" ~ new SignUpSpec ^ p ^
"Login Specification" ~ new LoginSpec
}
}
i need the first spec to finish executing before the second begins, i know that theres sequential settings for specs2 as well as sbt but so far i cant seem to get any combination of the two to work properly
does the fact that they are links effect the sequential execution of the specs? my question is weather or not i should focus on sbts settings or specs2 settings
in my build i have
parallelExecution in Test := false,
testOptions in Test += Tests.Argument("sequential", "true")