>From thinking about it, I'm not sure it should ever be a new flexmojos
goal.  It already has the test goal and uses the surefire plugin.

However, final integration testing needs to be done in a WAR module or
in a post-WAR module.  These are made well after all the Flex
artifacts are built.

I did find this link which is helpful:

http://blog.blackpepper.co.uk/black-pepper-blog/Flex-acceptance-testing-and-continuous-integration.html

Dave


On Oct 6, 1:32 pm, Marvin Froeder <[email protected]> wrote:
> There is room for a looooot of infrastructure here.... a selenium like....
> I honestly have no idea how I would do that.  But I know from a fact that
> this is not a flexmojos goal... at least not on the short term.
>
> On Wed, Oct 6, 2010 at 2:16 PM, David Vree <[email protected]> wrote:
> > 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]<flex-mojos%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

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