New ActionScript unit testing framework

Posted May 1, 2008 8:58 pm
Filed under: AS3, ActionScript, Elsewhere on the web, Flex, Frameworks, Sites to remember, Unit testing

Back in November 2005 (yes, 2.5 years ago!) I wrote an article about how data types and type checking work in ActionScript. ActionScript is different than many languages, in that the ActionScript compiler can be used for compile-time type checking (or not), and at runtime it is a strongly typed language, but it also has features of dynamically typed languages. This allows for some flexibility but also means that you have to be careful about testing your code (because the compiler won’t always catch everything).

My conclusion (not original by any means) was that unit testing is an important tool for ActionScript developers. I’ve tried a couple of ActionScript unit testing frameworks (ASUnit and FlexUnit). And finally getting to the point of this post, I was interested to learn today that the crew at Digital Primates is releasing an open source unit testing framework for Flex, known as “dpunit”.

(via Jesse Warden via Twitter)

You can leave a comment, or trackback from your own site.

2 Comments so far


  1. Theo is reported to have said:

    If you by “releasing” mean that its something new, check the dates on the Google Code site, last activity was in February.

    It’s a good unit testing framework, though. Much better than FlexUnit.


  2. Unit testing tutorial? - ActionScript.org Forums is reported to have said:

    Kramer auto Pingback[…] Blog post about another open-source AS 3 unit testing framework called “dpunit”. http://probertson.com/articles/2008/…ing-framework/ asunit testing with flash cs3 and actionscript 3 Good AS 3 specific tutorial of the basics […]

Add your comment





Comment notes

Please keep comments on topic. Comments that are inappropriate or offensive will be edited or removed.

Paragraphs and line breaks are automatically converted to HTML, and quotation marks are converted to “smart” quotes.

The following XHTML tags can be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> . All others will be removed.

Articles by Type

Articles by Topic

Random Reading

Currently...

Subscribe