I have some tests where I want to have two handlers and check something happens at both of them. At the moment if I put a 'testcomplete()' call at either of the handlers then the test will end without checking the asserts at the other handler.
One potential solution is to have an annotation on the test which declares how many expected testcomplete() handlers there are to be called.
I have some tests where I want to have two handlers and check something happens at both of them. At the moment if I put a 'testcomplete()' call at either of the handlers then the test will end without checking the asserts at the other handler.
One potential solution is to have an annotation on the test which declares how many expected testcomplete() handlers there are to be called.