I have two Flex client modules that compile and run against a Java/
Blaze backend.  Currently, both the Java and the Flex code are running
unit tests during the system build.  I also have integration tests
that run on the server-side against a live database.

I also have a Maven module that creates a WAR file with everything in
it.

But now I am stuck on how to do integration testing.

I had two ideas -- the first one I don't think will work:

1) I would like to write integration tests in Actionscript for my Flex
services module to test the Flex API to the back end server.  I think
I can write these using FlexUnit and somehow use the maven-jetty-
plugin to start up a server.  Except the server needs the WAR and the
WAR is dependent on this module -- e.g. a circularity.  I guess I
could create another Flex maven module with just the integration tests
in it (ugly).

2) Perhaps a better way would be to write integration tests in Java
and put the tests into my Maven WAR module.  But how to make Flex
calls from a Java unit test?  Are people doing this today?

How do you do final integration testing (or functional/acceptance
testing) with a Flex web application that requires a Java backend?

-- 
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