Akka Testing

Akka Testing

How to test actors in Akka.

Test Actor Ref #

Synchronous and ideal for white-box testing as we can change the internal state.

Test Probes #

Black-box testing and then verify if specific messages were sent (and other assertions).

(black box is always better :) )