Play!

Testing Akka Actors in Play!

This Article is about Play! 2.1.1 using Scala 2.10.0 - http://playframework.org

I wrote a simple Akka Actor to run some tasks in the background of Play, like a little cron job. This part was somehow good documented and I finished it quite fast. But after that I wanted to write a Test for this actor to check if my task is running. While I wrote already some specs for my Play! application I now came to a new problem for me. How to test async jobs?

Subscribe to RSS - Play!