Creating and Preparing a Test Project
Follow the steps and procedures to create and prepare a test project. Total Test users need to execute these steps for proper test setup.
Create New Total Test Project
To start with a brand-new Total Test project:
- Click on the Create a new Total Test project toolbar icon or select from the menu File > New > Project > BMC > Total Test Project.
- Alternatively, just click on the New Project symbol
available in the toolbar and select BMC > Total Test.
- The New Total Test Project wizard will appear.
- Enter a project name in the Name field.
- Enter a folder name in the Folder field.
Multiple folder levels can be entered in the folder name. Example "MyTests/SimpleDB2". - Click Finish. The new Total Test project appears in Project Explorer.
If you already have a Total Test project that you want to import into your workspace:
- Simply use the standard project import mechanism.
- From the menu, select File > Import, then in the list select General > Existing Projects into Workspace.
- Once imported, Total Test will recognize the project as a Total Test project.
Create JCL Template
To run tests,Total Test Virtualized Test requires at least one JCL template in the JCL folder of the project to be used for execution on the target platform when using the Use JCL defined in the project option in the Execution Context dialog or when using the classic Run Test dialog. Refer to Execute Test Scenarios.
The sample JCL templates (Runner.jcl, RunnerBmp.jcl, RunnerBMPDB2, and RunnerDB2.jcl) are only created if the Total Test preference Use the classic Test Run dialog is checked. Use Runner.jcl for tests that do not use live Db2 or live IMS BMP.
JCL Customization is Required
Follow the instructions inside the sample JCL as they require some customization to meet the requirements of your specific test environment.
Make sure your STEPLIB DD points at your site's Enterprise Common Components (ECC) Release 17.02 or newer load library (CPWR.MLCXnnn.SLCXLOAD), for example hlq.CPWR.MLCX170.SLCXLOAD. For more information, see Enterprise Common Components Installation and Configuration Guide for Release 17.02.
Adjust Project Properties
To do this:
- Right-click on your project's name in the Project Explorer to the left, then, from the context menu, select Properties.
- From the list shown, select Total Test. Usually, you do not need to make any modifications in the general Total Test entry.
- Please refer to Project-Properties for a description of the options there.
If you expand the Total Test entry on the left, you will see one more entry: COBOL Copybook Importer.
COBOL Copybook Importer
You do not need to make any modifications in the COBOL Copybook Importer section unless your copybooks contain special characters that need to be replaced or removed. If so, click Add to add one or more string replacements. In order to remove strings, just leave the replacement entry empty.
You are now ready to go.