Conversation started Sep 8, 2015 at 17:36.
Sep 8, 2015 17:36
@SimonForsberg What do you think is the best way to assert that a message is not received in ServerConnectionTest? I could a) assert that await times out or b) send another message and check the message type received or c) ???.
I don't really like relying on timeouts.
Sending another message doesn't feel right either.
@jacwah what specific thing is it that you want to test?
ah...
I think the best thing to do would be to add a function awaitNotMessage that would deal with sending another message and checking the message type received. I think that's the best way to solve it.
using timeouts is not a good idea to test it, and I don't really see any other solution.
What about assertNoMessage?
There's already assertUserFound.
assertNoMessage would work fine
Sep 8, 2015 17:45
Alright, thanks
 
Conversation ended Sep 8, 2015 at 17:45.