Fork me on GitHub

AsUnit is the only open-source unit test framework for ActionScript that works with ActionScript 2, 2.5, 3.0, Flash Authoring (back to MX and up to CS4), Flex Builder, the Flex Framework (2 and 3), MTASC, MXMLC, and any version of Flash Player since version 6, including AIR and even FlashLite. We can even emit JUnit-compatible XML results. There is no dependency on any external tooling or framework.

It just works, and it works everywhere.

AsUnit was originally developed in 2004 by Luke Bayes and Ali Mills, but has evolved over the years thanks to many contributions from our vibrant community.

Get Started

To get started with AsUnit, just grab the framework, add the appropriate folder to the class path of your project and start writing tests!

If you have any problems or questions, please join our mailing list, add an Issue at Github, or you can even Tweet with the hashtag #asunit.

Contribute

Many people have contributed to AsUnit over the years, and it's our active and growing community of users and contributors that keeps it going.

If you're interested in contributing, just check out this guide that describes how to participate in a project on Github.

Learn More

There are a variety of resources available to help you get up to speed with AsUnit.

ActionScript 3

ActionScript 2 and 2.5

Misc.

If you create or discover any additional content, or find broken links in the following list, please update this file, and submit a pull request.