Most of my tests currently following this format:

expectMsg(...)
expectMsg(...)
expectNoMsg(100.millis)

The justification is that any additional/unexpected outputs from an actor 
are a bug. This follows the same mentality as ScalaMocks, in that a call to 
an unexpected method will fail the test.

However, these are starting to appear all over my test code and I'm 
concerned this is not idiomatic to Akka testing. Furthermore, they add 
additional latency to the tests.

What are the opinions on this?

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to