What I'd like to do is to handle the event generated by a process and proceed to the next test only after it has been handled.
When I tried just using Async.handleEvent, the test running would allow other tests to start (this is a problem because the other tests generate their own events which then get handled by the wrong test). If I use Async.proceedOnEvent, since there is no handler function I never have access to the event. What I wound up doing was using two calls, one to Async.handleEvent and one to Async,proceedOnEvent for the same event. This seems a bit clunky, am I doing this the best way?
proceedOnEvent IS exactly the same as handleEvent... the only difference is that instead of making you specify an event handler it uses an empty on internal to the framework.
any chance you could post a sample?
Only way putting both of them in would help is if the event is broadcast twice.