Testing Blocking Messages with Akka’s TestKit

Laura Baranek 11 by West Point Public Affairs, on FlickrAkka’s TestKit package is both comprehensive and powerful. It needs to be because some of the properties of the Actor model can make testing awkward. The main culprits are asynchronous events and having no direct access to the internals of an Actor. TestKit addresses both of those issues and makes testing mostly straight forward. Nonetheless, I managed to paint myself into a corner at one point and while this is much harder in the latest version of Akka (2.0-RC2), I still think it is subtle enough to document.
Continue reading

Featured

Scaling Web Apps with Akka

image courtesy of http://linai.net78.net/blog/2011/08/22/scalaakka-references/

Akka is a powerful and rapidly evolving framework that can help you take advantage of multi-core hardware and cloud infrastructures. Moreover, its elegance makes it really easy to introduce into your project.