This is an adaption of RoboTest for specs2.
Import your spec class from org.specs2.robo
for acceptance-style or
org.specs2.robo.mutable
for unit-style.
There are two variants in how the Robolectric universe is set up and torn down:
- ClassSpec all examples in a class share Robolectric
- IsoSpec each example has its isolated Robolectric
resolvers += Resolver.bintrayRepo("tek", "releases")
libraryDependencies += "tryp" %% "speclectic" % "+"
© Torsten Schmits. Distributed under the terms of the MIT License.