This page is no longer maintained — Please continue to the home page at www.scala-lang.org

testing actors

No replies
Ittay Dror 2
Joined: 2010-05-05,
User offline. Last seen 42 years 45 weeks ago.

Hello,

What is the best way to test an actor. In particular, test how it handles messages that arrive in a particular order?

My use case: an actor sends a request message to another and waits for a response, another message may cancel the request and I'd like to test that the actor behaves correctly even if a response message is queued while handling the cancellation. So I'd like to queue both cancellation and response messages before letting the actor handle them

Regards,

Ittay

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland