New ActionScript unit testing framework

Posted May 1, 2008 8:58 pm
Filed under: ActionScript, AS3, 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.

  • http://blog.iconara.net Theo

    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.

  • Pingback: Unit testing tutorial? - ActionScript.org Forums

  • Fl?ºge USA

    The 1.0 release of digital primates Unit and Integration testing framework has really good features.I have tested it, it’s pretty and easy.
    I look foreward to reading more of ur blog

Articles by Type

Articles by Topic

Random Reading

Currently...

Adobe MAX 2011 Speaker H. Paul Robertson: Adobe Community Professional

Subscribe