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 ...

Get Borland® JBuilder™ Developer’s Guide 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.