[
http://jira.codehaus.org/browse/MGWT-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183227#action_183227
]
Arthur Kalmenson commented on MGWT-21:
--------------------------------------
Test suites work as described in the documentation, but they need to extend
TestCase not GWTTestSuite as instructed in the GWT docs. Here's a sample class:
{code}
public class GwtSampleSuite extends TestCase {
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite();
suite.addTestSuite(SampleGwtTest.class);
return suite;
}
}
{code}
See the discussion here:
http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/343ff6e30d0f828d
> support for running GWTTestSuite instead of GWTTestCase
> -------------------------------------------------------
>
> Key: MGWT-21
> URL: http://jira.codehaus.org/browse/MGWT-21
> Project: Maven 2.x GWT Plugin
> Issue Type: New Feature
> Reporter: Arthur Kalmenson
> Assignee: nicolas de loof
> Fix For: 1.1
>
>
> I've mentioned this before, but I figured I'd post a feature request for it.
> For GWT projects that make extensive use of GWTTestCase for integration
> testing, running each GWTTestCase separately increases the build time
> substantially. This happens because a headless hosted mode needs to be
> launched for each test class. GWT offers an optimization called GWTTestSuite
> that allows you to group GWTTestCases together into a suite that launches the
> headless hosted mode once. This feature is currently supported in the Google
> Code gwt-maven plugin. See this for more information:
> http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJUnitSuites
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email