Chapter 15. GSBase

This chapter covers

  • Testing event sources with EventCatcher
  • Testing object serialization and cloning
  • Testing legacy objects for equality

GSBase ( is an open source project maintained by Mike Bowler. Mike is also the lead programmer for HtmlUnit, which we highlighted in chapter 13, “Testing J2EE Applications.” Mike decided to take his toolkit of useful Java classes—ones he had developed for his own use and found handy—and create a public project around it, so GSBase contains some general-purpose classes that you might be able to use in your own projects. In this toolkit are a few utilities to make testing with JUnit easier. Mike is a long-time JUnit user and a proponent of Test-Driven Development. ...

Get JUnit Recipes: Practical Methods for Programmer Testing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.