Skip to content

Instantly share code, notes, and snippets.

@wemrysi
Created January 18, 2013 19:40
Show Gist options
  • Save wemrysi/4567725 to your computer and use it in GitHub Desktop.
Save wemrysi/4567725 to your computer and use it in GitHub Desktop.
JUnitInterface for spray-testkit
package spray.testkit
import spray.util._
import akka.actor.ActorSystem
trait JUnitInterface extends TestFrameworkInterface {
def failTest(msg: String) = throw new AssertionError(msg)
}
trait JUnitRouteTest extends RouteTest with JUnitInterface {
implicit val system = ActorSystem(actorSystemNameFrom(getClass))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment