Skip to main content

blueMarine's Acceptance Tests ready to go

Posted by fabriziogiudici on March 2, 2009 at 3:12 PM PST

After a long time, I've at last resolved the (hopefully) last problems in a very important part of blueMarine, the Acceptance Tests. They are high-level integration tests that can be installed from the Update Center into the application by anyone (I'm targetting them at beta testers) and automatically execute. A very simple recent addition is a repeat counter that makes it possible to perform them any number of times, thus making them useful for load testing too.

The main problem I faced with was how to synchronize tests with background tasks - that is, you press a button, a lot of things might happen and you need to reliably know when they have been completed, so you can move to the next step. I've published to DZone a story about the way I solved it and I'd like to hear opinions about it.