GWT Test Case

Highlights

  • Create a class that extends GWTTestCase
  • Need to implement a method that tells what the name of the GWT module will be.
  • Need to create a special GWT JUnit Launch using the GWT Plugin for Eclipse (version 1.3)
  • Fill in your regular JUnit calls
  • Can be used as an integration test to exercise the AJAX calls
  • Does not exercise UI elements such as mouse clicks.

Maven

  • There is supposed to be a gwt:eclipseTest that will generate test cases, but it wasn't working; it complained about not finding the GWT version even though this was defined.

Reference

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License