Sunday, July 29, 2007

Unit testing Ajax Applications

clipped from

In pursuit of code quality: Unit testing Ajax applications

Testing asynchronous applications gets easier with the GWT

Because GWT-related Ajax applications are written using Java code, they're perfectly suited to developer testing with JUnit. In fact, the GWT development team created a helper class dubbed GWTTestCase that extends from JUnit's 3.8.1 TestCase. This base class adds functionality for testing GWT code as well as handling some of the plumbing to get a GWT component up and running.