tek / speclectic

Robolectric + specs2

GitHub

This is an adaption of RoboTest for specs2.

Use

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

sbt

resolvers += Resolver.bintrayRepo("tek", "releases")
libraryDependencies += "tryp" %% "speclectic" % "+"

License

© Torsten Schmits. Distributed under the terms of the MIT License.