Skip Headers

Testing the Application

Previous
Previous
 
Next
Next

The tutorial includes JUnit tests for the application.

In the Eclipse project, right-click the Intro_Tutorial project and select Refresh.

  1. In Eclipse, right-click the Intro_Tutorial project and select Refresh. Eclipse refreshed the TopLink project information.

  2. Right-click the ModelTest.java and select Run As > JUnit Test. The JUnit tab appears and executes the following tests:

    • testWriteReadAddress

    • testNamedQuery

JUnit Test

JUnit tab in Eclipse