Created
January 18, 2013 19:40
-
-
Save wemrysi/4567725 to your computer and use it in GitHub Desktop.
JUnitInterface for spray-testkit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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