Setzen Sie Ihre berufliche Entwicklung mit Scribd fort
Exclusive 60 day trial to the world's largest digital library.
Join 1+ million members and get unlimited* access to books, audiobooks.
Actors testing is different from what you are used to. First, you have messages instead of calls, second, you have to deal with concurrency and all the consequences that it brings with it:
* Thread.sleeps in tests;
* Green on laptop / red on jenkins;
* Missed test cases.
Fortunately Akka provides a TestKit which helps to avoid all these things when used properly. Let's take out and inspect tools from this kit and learn couple of useful patterns.