tek / speclectic   1.0.0

GitHub

Robolectric + specs2

Scala versions: 2.11

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.