Thursday, May 22, 2014

Re: Failing to rung GWTTestCase tests with ant



On Thursday, May 22, 2014 8:11:55 AM UTC+2, Povilas Balciunas wrote:

I simply cannot succeed in running GWTTestCase tests. I'm using GWT 2.6.1JUnit 4.11ant 1.8.2. I've created sample repository on github.

Ant target than runs the tests (maybe it's somtehing obvious in here):

<target name="test.gwt" depends="javac.test"      description="Run GWTTestCase tests." >      <junit haltonfailure="false" includeantruntime="false">

I think you have to set fork="yes". At least that what GWT uses for its own tests, and what's put in the build.xml file generated by the WebAppCreator.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment