guw / gwt-tooling

Automatically exported from code.google.com/p/gwt-tooling
0 stars 0 forks source link

Launch configuration for running GWT test cases #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
GWT also supports developing test cases. There is a base class GWTTestCase,
which can be started in hosted or web mode, and is running an invisible GWT
browser.

For running these test cases, folling has to be fulfilled:

1. Each src folder must be added to CLASSPATH (e.g. ./src, ./test within
project, standard GWT directory layout)
2. bin folder must be added to CLASSPATH
3. gwt-dev-{windows|linux}.jar must be added to CLASSPATH

See also junitCreator.cmd/sh, which generates a Eclipse launch
configuration based on these principles, and JUnit guide at GWT website.

I request a new launch configuration for GWT TestCases with these requirements:
- Should be visible in Run and Debug menu, when selected class extends
GWTTestCase
- All source foldes habe to be added to CLASSPATH
- gwt-dev-{windows|linux}.jar has to be added to CLASSPATH
- Should be configurable for hosted or web mode
- out directory should be possible to be specified. Will be set via a Java
property -Dgwt.args="-out www-test"

Workaround: maintain your launch configuration manually according to rules
above.

Original issue reported on code.google.com by jo.hil...@googlemail.com on 11 Nov 2006 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by eclipseguru@gmail.com on 3 Jan 2007 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by eclipseguru@gmail.com on 3 Jan 2007 at 9:55

GoogleCodeExporter commented 9 years ago
This should go into the next release.

Original comment by eclipseguru@gmail.com on 17 Jan 2008 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by eclipseguru@gmail.com on 17 Jan 2008 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by eclipseguru@gmail.com on 17 Jan 2008 at 1:33

GoogleCodeExporter commented 9 years ago
Issue 64 has been merged into this issue.

Original comment by eclipseguru@gmail.com on 14 Jan 2009 at 12:41