|
From: Aral B. <ar...@ar...> - 2005-02-02 14:45:26
|
Hi guys and gals, I've been scouring the web for a unit testing framework to support as the "official" unit testing framework for ARP (see http://ariaware.com/products/arp) and asunit appears to fit the bill perfectly. For one thing, it supports both Flash and Flex (as does ARP) and for another, I love the panel integration, etc. The one thing that had me worried when I tried the example in the Readme was that by default it adds code to the class being tested: public static var linkageId:String = "com.asunit.example.ExampleClass"; public static var classRef:Function = ExampleClass; public static var serializable:Boolean = Object.registerClass(linkageId, classRef); Removing the code does not appear to have any adverse affects but I haven't tested this to any length. Does the framework require this code in the classes? Thanks in advance, Aral -- *Aral Balkan* *Managing Director, Ariaware Ltd.* Tel: +44 (0) 870 7542240 Fax:+44 (0) 870 7542240 Mob: +44 (0) 779 5551278 * *Web: *http://www.Ariaware.com <http://www.ariaware.com> * *Blog: *http://www.FlashAnt.org * *Macromedia Certified Instructor* Flash MX 2004 Advanced ActionScript Development Flash MX 2004 Professional ActionScript Development * *Director of Educational Content* - *Ultrashock <http://www.Ultrashock.com>* * *Author - Friends of ED <http://www.FriendsOfEd.com>*, *Macromedia DevNet <http://www.macromedia.com/devnet>* * *Director* - *London MMUG* <http://londonmmug.org> |