AFAIK in not possible: http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/testing.html
These solution doesn't run test under maven sunfire :( On Fri, Nov 14, 2008 at 2:42 PM, Nicolas <[EMAIL PROTECTED]> wrote: > > Well, actually, I have spent a lot of time in checking my config. I'd > like to know if someone has already succeeded in launching tests from > maven (without using a third party plugin). > > On 14 nov, 11:58, eric <[EMAIL PROTECTED]> wrote: >> Hum. it looks like a classpath problem , check your config . >> >> Le vendredi 14 novembre 2008 à 01:07 -0800, Nicolas a écrit : >> >> > Hi all, >> >> > I'm trying to setup my pom.xml to launch my GWT app tests (classes >> > extending GWTTestCase) with Maven. I don't want to use a third party >> > Maven plugin. I want the tests to be fully launched in Surefire plugin >> > because I want to see test reports in my continuous integration server >> > (Hudson). >> >> > Here is my project layout : >> >> > |_src >> > | |_foo >> > | |_client >> > | |_server >> > | |_public >> > | |_Foo.gwt.xml >> > |_test >> > | |_foo.client >> > | |_FooTest.java >> > |_pom.xml >> >> > I include source and test paths in the test classpath by the following >> > way in my pom.xml : >> > ... >> > <sourceDirectory>src</sourceDirectory> >> > <testSourceDirectory>test</testSourceDirectory> >> > <testResources> >> > <testResource> >> > <directory>src</directory> >> > </testResource> >> > <testResource> >> > <directory>test</directory> >> > </testResource> >> > </testResources> >> > ... >> >> > When I launch mvn test, I get the following error : >> > Running foo.client.FooTest >> > Loading module 'foo.Foo.JUnit' >> > Translatable source found in... >> > [WARN] No source path entries; expect subsequent failures >> > com.google.gwt.core.ext.typeinfo.NotFoundException: java.lang.Object >> >> > When I launch the test from Eclipse, it works (I just have to add src >> > and test folders in the Run Configuration classpath). > > > -- Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
