Hi Brian,
We've been working with Mike on fully integrating FlexMonkey tests to use FlexUnit (internally and through generated AS3 test code). To make everything work, I've made some patches to the Ant task.
The changes encompass what we need to make things work with FlexMonkey / FlexUnit code generation, this includes two main goals:
1) The ability to launch from a URL. Since our tests are functional they need to run against the actual application, which typically means running against an http URL.
2) The ability to launch a full / precompiled AIR application. Similar to a browser based application, the 'real' application needs to be compiled and run.
In both cases, the implementor will be responsible for compiling both FlexUnit and FlexMonkey into their application and having the proper setup to invoke the FlexUnit tests we generate from FlexMonkey (we will provide samples of this in the next FlexMonkey release).
To implement this I added two new properties to the Ant task: url & precompiledAppDescriptor. Please take a look at the attached patch files and let me know if these are changes we can get into the next release and if there is anything I can do to make the updates more generic for all FlexUnit users.
Thanks,
- Jon
Using the github fork/pull workflow also allow us to leverage their code review functionality in case something needs to be worked on before being accepted.
Ping me if you need any help getting that setup.
Thanks,
sim