mardi 18 août 2020

Asynchronous behavior testing akka

How can I test asynchronous behavior in akka?

I want to test an behavior that gets a message and then spawns a new behavior (I wanna make sure the behavior was spawned)

First I thought about using BehaviorTestKit (and .expectEffectType) but it doesn't work because its synchronous.

What should I do?

Aucun commentaire:

Enregistrer un commentaire