Re: [akka-user] dependency between tests when using ImplicitSender and forget to consume a response with any of the expect-methods

2014-11-22 Thread Konrad 'ktoso' Malawski
We actually often find this rather useful - for example, if there comes a response from the previous test case which I did not expect, it could fail the 2nd test as an unexpected message may come in. This helps to make sure there’s no spurious and additional messages sent around. So yes, when

Re: [akka-user] dependency between tests when using ImplicitSender and forget to consume a response with any of the expect-methods

2014-11-22 Thread Florian Witteler
Makes sense to mix both styles. Thanks for the insight from inside the akka-team ;-) Keep up the good work! Am Sonntag, 23. November 2014 00:51:52 UTC+1 schrieb Konrad Malawski: We actually often find this rather useful - for example, if there comes a response from the previous test case

Re: [akka-user] dependency between tests when using ImplicitSender and forget to consume a response with any of the expect-methods

2014-11-22 Thread Konrad 'ktoso' Malawski
Thanks; you too! Happy hakking! — konrad On 23 November 2014 at 00:51:45, Konrad 'ktoso' Malawski (konrad.malaw...@typesafe.com) wrote: We actually often find this rather useful - for example, if there comes a response from the previous test case which I did not expect, it could fail the 2nd

[akka-user] dependency between tests when using ImplicitSender and forget to consume a response with any of the expect-methods

2014-11-21 Thread Florian Witteler
Hi! I was bitten by some special behaviour when testing my actorSystem with the help of the ImplicitSender trait. I have two testmethods. In each of them, I send a message to an actor wrapped in a TestActorRef. In the first testcase, I don't consume the answer of the actor with one of