Home

 

Generating an executable test

Before a test can be run, the Java source code for the test must be generated and compiled. This process is called code generation. The compiled code is stored in the RAD75JUnitWebTest project.

To start the code generation of the RAD75JUnitWebTest, do these steps:

Right-click RAD75JUnitWebTest TPTP URL Test in the RAD75JUnitWebTest project and select Generate.

In the TPTP URL Test Definition Code Generation dialog, accept the project and source folder and click Finish to start the code generation.

To examine the generated Java code, switch to the Java or Web perspective, and open the itso.rad75.bank.test.RAD75JUnitWebTest class.
ibm.com/redbooks