assertTrue is the professional blog of Luke Bayes and Ali Mills

Getting Started with ActionScript 2.0 and AsUnit

Posted by Luke Bayes Mon, 12 May 2008 06:38:00 GMT

It seems a “London/Cambridge-based Actionscript developer” posted an excellent tutorial for ActionScript 2.0 and AsUnit.

Just wanted to make sure folks could find it!

Tags  | 2 comments

Comments

  1. James Knight replied: Avatar Thanks Luke, for both your recent comments. The good news is that I *may* finally be moving onto A3.0 - just a leetle bit behind the curve, eh? I've had problems in the past writing unit tests to cover the functionality of bespoke components that contain other bespoke components - I've taken it to be a problem of the children not instantiating fast enough through setUp/tearDown to be testable. Having recently found the run/runNow trick used to handle XML, I'm going to give that a go for the components too. Thanks, btw, for asunit: it's a fantastic tool.
    Posted: 36 minutes later.
  2. Luke Bayes commented: Avatar Hey James,

    Thanks for the response.

    You are probably correct about the instantiation delay for AS 2.0 and the run/runNow trick (er, hack) should help.
    ;-)
    Ideally, we would back-port the AsUnit 3.x addAsync method to the AS 2.0 builds, so if you're interested in contributing, that would be the cleanest solution.

    Thanks again for the write-up!
    Posted: about 13 hours later.

Your Reply

Comment Form.

Fields denoted with an "*" are required.