Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"?

like image 577
David Wolever Avatar asked Jun 11 '09 18:06

David Wolever


2 Answers

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.

like image 160
darronschall Avatar answered Sep 18 '22 20:09

darronschall


I think it depends on the kind of ActionScript development you're doing. AsUnit has a wider set a supported versions.

FlexUnit looks as though it has a better backing through Adobe. If you're focusing on Flex development (or strictly AS3), I'd probably go with FlexUnit.

like image 27
Justin Niessner Avatar answered Sep 17 '22 20:09

Justin Niessner