XojoUnit
XojoUnit copied to clipboard
Is it possible to know if a Test Case is currently running ?
I have some methods that call MessageBox, which stalls the execution of the Test Cases.
Is there a way that my function could know if it is called while a Test Case is being executed?
Regards, Antoine
I can't think of a good way, but my recommendation would be to split up the functions to separate out the processing from the UI elements, then test just those functions.
FYI, you can use the included ObjectSpy to test private functions.