homeresumeabout
TestCollection

Description
TestCollection is an Actionscript 3 unit test framework.
Claim to fame
The smallest and simplest of the current publicly available options. There are only two classes in the SWC. There are currently only 116 lines of actual code (not counting whitespace, curly braces, and comments).
Installation
Place the SWC in your frameworks/libs folder
Use
You should subclass TestCollection and can have test methods in the subclass as well as other TestCollection subclasses. The resulting test collection tree must be acyclical. You'll want to look at the run method of the TestCollection API docs. The flash.utils.describeType method is used for reflection. The describeType caching mechanism available in Flex is not used, since the resulting tree must be acyclical, meaning that each TestCollection class would only be processed once.
Extra
You'll probably want to look into the TestCollectionRunner project for an AIR app that can be run through command-line build tools like Ant or Maven.
License
{{htmlLicense}}
Downloads
{{downloads}}