Search code examples
apache-flexactionscript-3flexunitasunit

AsUnit verses FlexUnit – which is "better"?


I'm learning ActionScript/Flex at the moment, and it's come time for me to start unit testing. My reading shows that there are two main frameworks out there: FlexUnit and AsUnit.

Is there any reason to learn one over the other? Is one, in some way, "better"?


Solution

  • There is also fluint, which was created in order to address issues that developers were running into using FlexUnit.

    Because of new FlexUnit tooling support in the upcoming FlashBuilder 4 release from Adobe, the fluint project and the FlexUnit project have merged to create a new unit testing suite now dubbed FlexUnit 4.0. The FlashBuilder IDE will support FlexUnit 4.0 at the tool-level. This new tooling support, coupled with some of the great new features of FlexUnit 4.0, make the new FlexUnit the clear choice for unit testing in ActionScript 3 and Flex code.