The following unit testing tutorial helps you gain experience using JBuilder’s unit testing features. To learn more about the JUnit testing framework, visit www.junit.org.
The application’s goal is to unit test a class named FunctionalClass.
The exercise shows you how to set up a test case and a comparison test fixture.
In this step, you open the sample project and the source code file that contains errors.
To open the example project, follow these steps:
Select File, Open Project from the JBuilder menu.
Locate the jbbook/ch05/UnitTestSample.jpx and click on OK.
The project opens in the Project pane. The project is composed of five Java files: