Created
December 12, 2012 07:34
-
-
Save anonymous/4265819 to your computer and use it in GitHub Desktop.
Fast Track to Akka, Dec 12-13, 2012
This file contains hidden or 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
Fast Track to Akka - Course Materials | |
===================================== | |
Template for Testing with specs2: | |
--------------------------------- | |
import akka.testkit.{ TestKit, ImplicitSender } | |
import akka.actor.{ ActorSystem, Props } | |
import org.specs2.mutable.Specification | |
import org.specs2.time.{ NoTimeConversions => NTC } | |
import org.specs2.runner.JUnitRunner | |
@org.junit.runner.RunWith(classOf[JUnitRunner]) | |
class ActorSpec extends TestKit(ActorSystem()) | |
with ImplicitSender with Specification with NTC { | |
"An actor" should { | |
"respond correctly to messages" in { | |
todo | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment