Reviewers: jat, Description: Currently, JUnitShell only supports running one runStyle (ex. Selenium, RemoteWeb, HtmlUnit) at a time. As a result, we need to run the same tests multiple times in order to use all runStyles.
In our own build system, we use Selenium and RemoteWeb to cover all browsers, which means that we run all tests twice. Adding HtmlUnit is going to require a third iteration over all tests. This adds a significant amount of time to testing. Fix: === This patch updates JUnitShell to support multiple runStyles by specifying the -runStyle program argument multiple times. This is a slightly breaking change. Currently, if you specify multiple runStyles, the last one will overwrite previous runStyles. I don't think this will affect very many people. This patch also updates the build file to take advantage of multiple runstyles. Testing: ======= Manually verified that multiple runStyles, in various combinations, work without problems. Please review this at http://gwt-code-reviews.appspot.com/267801/show Affected files: user/build.xml user/src/com/google/gwt/junit/JUnitShell.java user/src/com/google/gwt/junit/RunStyleExternalBrowser.java user/src/com/google/gwt/junit/RunStyleHtmlUnit.java user/src/com/google/gwt/junit/RunStyleManual.java user/src/com/google/gwt/junit/RunStyleRemoteWeb.java user/src/com/google/gwt/junit/RunStyleSelenium.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
