|
From: Aral B. <ar...@ar...> - 2005-02-08 14:45:42
|
Hi Luke, Sorry it has taken me so long to reply -- I've been really busy (as usual, I guess!) >For the sake of the >archive I'm going to give quite a bit more info than I'm sure you >need, So please don't be offended by the detailed response! > > Not at all -- I like detailed responses :) >b) Remove it from the Templates so that you'll never see it again. The >Templates can be found at: > [MM Configuration]/External Libraries/asunit/ClassTemplate.as (and >TestClassTemplate.as) > >You probably shouldn't mess with the "TestClassTemplate" as that is >used to create the TestCase and does require all of it's params. > > I've just announced on the ARP mailing list that we will officially be supporting AsUnit as the "unit testing framework of choice" for use with ARP. In ARP, we'll be including a custom template for class files (the ARP standard template) and a slightly modified one for the test class. >1) Some classes (as in our framework) may extend MovieClip, but still >not have a representative in the Library of your .fla. In the case of >these classes, you need to call Object.registerClass with a unique >LinkageId (that is prefixed by "__Packages") and a reference to the >constructor. > > I don't see this scenario becoming an issue in ARP. However, I will make a note of it in the manual. >Finally, we're very very interested in getting more detailed >documentation, examples, articles, and spreading the word in general, >so please let us know if you or anyone you know is interested in >contributing some work to the cause! > > Well, ARP is currently the only pattern-based AS2 framework that supports both Flash and Flex (it is similar to i2's Flex-only Cairngorm framework) and thus I believe it makes a perfect companion project to AsUnit. We will definitely be trumpeting the virtues of AsUnit and we would be very interested in getting your feedback/thoughts/suggestions on ARP as well. We have a mailing list for ARP that you are more than welcome to join. All the best, Aral |