AS3 Unit Testing Frameworks or Libraries
What are the best unit testing frameworks or libraries for AS3 prog开发者_运维问答ramming? Specifically for projects that do not involve Flex, only Flash.
There is http://asunit.org/ which works with AS2/AS3 only porojects and more. FlexUnit http://opensource.adobe.com/wiki/display/flexunit/FlexUnit also works with AS3 only projects.
you also have ASTUce https://code.google.com/p/astuce/
no dependency on Flex, no dependency on Events will work only with synchronous tests (on purpose)
and work purely and truely on the command line https://code.google.com/p/gaforflash/issues/detail?id=40 https://code.google.com/p/gaforflash/issues/detail?id=41
so you can add it in your build script, here an example https://code.google.com/p/gaforflash/source/browse/tags/1.0.2/build.xml#153
Disclaimer: I made this.
AS3 Unit: https://github.com/Hoten/as3unit
精彩评论