Issue Type: Improvement Improvement
Affects Versions: 2.5.0
Assignee: Unassigned
Created: 15/Jan/13 3:11 PM
Description:

As documented in JUnitShell's -help for -runStyle: "Selects the runstyle to use for this test. The name is a suffix of com.google.gwt.junit.RunStyle or is a fully qualified class name, and may be followed with a colon and an argument for this runstyle."

I developed a new run style supporting the WebDriver JSON/HTTP API (https://github.com/neothemachine/gwt-webdriver-junit-runstyle) but can only run it with the surefire way:

<plugin>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.6</version>
    <configuration>
      <additionalClasspathElements>
        <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement>
        <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
      </additionalClasspathElements>
      <useManifestOnlyJar>false</useManifestOnlyJar>
      <forkMode>always</forkMode>
      <systemProperties>
        <property>
          <name>gwt.args</name>
          <value>-out ${webAppDirectory} -prod -runStyle com.github.neothemachine.gwt.junit.RunStyleWebDriver:localhost:4444/*firefox</value>
        </property>
      </systemProperties>
    </configuration>
  </plugin>

I intend to develop other run styles (e.g. directly creating local phantomjs processes which should be faster if the testing is local), so it would be cool if there's a way to run those with the gwt-maven-plugin.

Project: Maven GWT Plugin
Priority: Major Major
Reporter: Maik Riechert
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to