> > The MXML test script should be valid XML, so it should be easily parsed by > Java code. We have to figure out what to do with any fx:Script block, but > otherwise, maybe each MXML tag just runs a Java class? For MXML event > handling code in AS, maybe that just gets passed to JS eval()? Or > cross-compiled first by FalconJX? I guess this approach would make bitmap > compares possible? If so, maybe this approach would be less work. >
If I understand correctly, Mustella has two inputs: the MXML/AS file to test and an MXML file that defines what to test. In the Marmotinni approach, the test file would indeed be cross compiled by FalconJX, giving us a fully fletched release HTML/JS application to test. To perform this testing, in comes Selenium, which can be driven from a Java application (the actual Marmotinni). This application reads the MXML file defining the tests, parses them to Selenium commands, captures the Selenium results and reports them. If there is any mixin' to do, or if the HTML/JS application needs to be modified/enhanced/added to in any way, FalconJX can take care of this. There are already code paths and a command line switch in FalconJX (the Publisher, to be specific) that handle special cases when a build is part of a Marmotinni run. EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl