Im currently evaluating FlexUnit and ASUnit as we move over to AS3 and seeing how they will fit in with our continuous integration suite. As you may have read in my previous posts on CI, we ended up significantly reworking ASUnit to get it to integrate with our needs for CI. What we are really looking for now is a framework we do not have to monkey around with too much to acheive our needs. The unit test framework we use needs to fulfil the following:
- Simple syncronous tests
- asynchronous tests
- asynchronous setup (e.g. if you ned to load in some data before performing the tests)
- printing the test result out to a log file so that Cruise Control can interpret the results
- broadcast some sort of event when the test suite is complete so we can close the test harness and continue with the build
- works equally well outside of the flex framework
I’ll be looking at both FlexUnit and ASUnit to see which one will work for our needs best. Ideally I would like to offer up solutions to using both so that you can fit CI into any testing framework you are currently using. I’ll post my findings as I find them, so stay posted…
Can’t wait to hear the results of your research on this. I have been looking at ways to integrate FlexUnit with CruiseControl.Net. In the past I have used ASUnit and I am glad you pointed it out here because I didn’t realise they updated it to AS3 now. Good to see others in the community putting some thought into this too