O'Reilly logo

Borland® JBuilder™ Developer’s Guide by Jeff Swisher, Saleem Siddiqui, Michael Landy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Comparison, JDBC, and JNDI Fixtures

Testing fixtures are utility classes that extend the functionality provided by the JUnit testing framework. JBuilder has defined three sets of testing fixtures and provides you the ability to create your own fixtures.

The Object Gallery in Figure 5.4 and Table 5.2 describe the available fixtures. In this section, we will look at the comparison, JDBC, and JNDI fixtures.

Comparison Fixture

The comparison fixture provides a utility class to your project that allows the creation and comparison of test data. The comparison fixture makes it easy to record the data results in your unit tests. Those results are saved to a file as a baseline for your unit tests. Subsequent tests result in comparisons to the baseline ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required