gwt-test-utils is a Java testing framework for GWT applications. It provides a simple way to test your GWT User Interfaces without GWTTestCase or any servlet container instance ! This means you are able to use any Java tool without restriction : JUnit, reflection, Easymock, Mockito, etc.
If you want to write fast tests which will still deal with your GWT view layout and simulate browser events on your widgets easily, you really should considere this framework. The Getting Started page would be a good way to start ;-)
- GWT code unit testing with small execution time (no hosted mode / browser launched in the background)
- Simulation for browser's events (click, blur, change, ...)
- Mocks handling using Mockito or EasyMock
- Standard maven-surefire-plugin support for testing with Maven
- Support for GWT + Spring application testing
- Support for GWT + Guice application testing
- Support for GWT + GIN application testing
- Support for JUnitParams
- Support for GXT library (currently only version 2.x, version 3.x is coming !)
- Complexe use-case testing using CSV-based scenarios
- Extensibility through the use of custom patchers
Whether you want to...
- Use gwt-test-utils to test your GWT application
- Get your custom widget library working on a standard JVM to make it compatible with the framework
... you'll find everything you need in the User Guide.
Here is the next features we are working on, ordered by priority (which is not frozen) :
- COMING IN 0.40: Nice support for GWT overlay types
- COMING IN 0.40: Support for Editors
- COMING IN 0.40: Support for AutoBean framework
- Support for GWT 2.5.0-rc1
- Support for GXT 3.0
- Support for RequestFactory
- Support for PowerMock
- Support for TestNG
In addition, we are daily improving gwt-test-utils existing features. To perfect it, we need your feedback !
For any question, feedback or contribution, please contact use through the user group.
You can also follow the day-to-day evolution of the framework and communicate on it through Twitter : #GwtTestUtils