AsUnit is an open source framework for unit testing in Flash. AsUnit provides a low level automated testing system that is your first line of defense for catching bugs in your application. The concept of unit testing has been around for a long time as part of the traditional Waterfall model of software development. However, it has gained in popularity recently as one of the main tenets of Extreme Programming. One of the tenants of Extreme Programming is that you write unit tests first and then your code. You also refactor code often as you add features. Unit tests help find errors quickly as code is refactored and can be used as part of regression testing to make sure the new code has not affected existing functionality.
@InsideRIA on Twitter