Chapter 15. GSBase

This chapter covers

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

GSBase (http://gsbase.sourceforge.net) 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 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.