Ant Task Updates for FlexMonkey Support

11 views
Skip to first unread message

Jon Rose

unread,
Dec 10, 2010, 8:02:29 AM12/10/10
to flexunit-c...@googlegroups.com

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

0001-Updates-for-FlexMonkey.patch
0002-Updates-for-FlexMonkey.patch

Brian

unread,
Dec 21, 2010, 12:44:15 PM12/21/10
to Flexunit Contributors
Hi Jon,

Sorry I haven't gotten back to you sooner, I'm currently swamped at
the office with no end in sight until the 2nd week in January. I know
the URL loading feature request has a couple votes in JIRA, so people
will be happy to see that added. Can you send me a pull-request on
GitHub for the changes? It'd be much easier to check out and
integrate with once I have some time to dig in. Thanks.

-Brian
>  0001-Updates-for-FlexMonkey.patch
> 1KViewDownload
>
>  0002-Updates-for-FlexMonkey.patch
> 22KViewDownload

Simeon Bateman

unread,
Dec 21, 2010, 12:47:50 PM12/21/10
to flexunit-c...@googlegroups.com
Hey 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

Reply all
Reply to author
Forward
0 new messages