Posts Tagged ‘XUL’

How to Use the ASUnit Framework to Write Unit Tests for ActionScript

folder-explorer AsUnit is the first choice for Test-Driven Development using pure Flash applications.It is an Open-Source, Unit Test Framework for Macromedia Flash ActionScript 2.0 and 3.0. AsUnit 2.x is fully integrated with the Flash IDE, and there is a Mozilla XUL UI that works alongside any other ActionScript authoring tools.  This framework allows developers to easily create and manage Classes, Test Cases, Test Suites and view the results of extensive test fixtures. This article will explain in detail how to use the ASUnit framework to write unit tests for ActionScript. It is aimed at an experienced AS developer who is curious about unit testing but has been frustrated by the lack of documentation for ASUnit.