hi!
So I have a simple flow with A → B → C like the example.
I am trying to see if I can test the full flow in the Case as a unit test/integration test.
I understand that I can test the result of C to see if my flow worked. But it is a bit more complicated than that . In fact the main issue I have is how do I know the job is fully completed through the chain?
I tried
-
method 1: try to do async using the cast/handle_cast . But then I don t know when it s completed
-
method 2: I can us the call/handle_call mechanism.. but then when my message gets to C currently, no reply is sent to the original test process (where I run my test from)… I could pass the original from all the way down with my messages but that seems wrong to do as well…
So what am I missing here? Again , I want to be able to run from a unittest


















