@Richard - FlexMojos and the Ant task for FlexUnit 4 both work by
creating a test SWF which establishes a socket connection with its
spawning process to report the results of the tests being executed.
In FlexMojos, I believe it's done using the unit testing support
library and in Ant it's done by attaching the CIListener to the
FlexUnit 4 Core.  Unfortunately, there is no way for the Flash Player
to write to disk since it operates in the sandbox of the browser.
Unless FlexMonkey's AIR application has the ability to execute a
series of tests and output test results to their respective files,
you'll need to use either Maven or Ant and their respective plugins to
execute your tests and have results written to disk.  The test SWF by
itself is not enough to execute a test run.

FWIW - You may want to post this question on the FlexUnit or
FlexMonkey forums for more ideas, although I'll probably be the one
answering your question on the FlexUnit forums.  Let me if I can help
with any of your questions.

-Brian

On Jun 15, 2:51 pm, Richard Rodseth <[email protected]> wrote:
> My QA colleagues are trying to understand how to execute FlexUnit 4-based
> functional tests on a maven-free machine that will have the Flash Player and
> a browser. There are two classes of tests
>
> 1) Hand-written API tests using HTTPService
> 2) Tests generated by FlexMonkey.
>
> I realize this is not the focus of maven/flex-mojos but we need to
> understand what build artifacts to create and copy to the test environment,
> as well as how to invoke them
>
> It would be helpful if I understood what Flex-Mojos does in the test phase
> (for regular unit tests). Are the tests and the classes they import compiled
> into a single swf that also includes the test runner, or does the test
> runner load a sub-SWF?
>
> Thanks for any tips.

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to