Skip to Content
Scala Reactive Programming
book

Scala Reactive Programming

by Rambabu Posa
February 2018
Intermediate to advanced
552 pages
13h 46m
English
Packt Publishing
Content preview from Scala Reactive Programming

Executing HelloWorld Actor unit tests

Now it's time to execute our two versions Actor's unit tests using the sbt command, as follows:

akka-scala-helloworld-app$ sbt test[INFO] [12/29/2017 18:50:28.122] [AkkaHelloWorld-akka.actor.default-dispatcher-4] [akka://AkkaHelloWorld/user/HelloWorldActor] Hello World[info] HelloWorldActorSpec:[info] HelloWorld Actor[info] - should pass on a HelloWorld message[info] HelloWorldActorSpec:[info] HelloWorld Actor[info] - should pass on a HelloWorld message[info] Run completed in 1 second, 58 milliseconds.[info] Total number of tests run: 2[info] Suites: completed 2, aborted 0[info] Tests: succeeded 2, failed 0, canceled 0, ignored 0, pending 0[info] All tests passed.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand
Learning Scala

Learning Scala

Jason Swartz
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781787288645Supplemental Content