Use the .test command to add an adaptor for a test application to a project
step. A test adaptor is a Build Forge object; it is based on the adaptor template
for a test application. The adaptor code for the step is executed when the
project runs.
Syntax
.test <adaptor_name> [entry_name]
The <adaptor_name> is required; it is the name assigned to the
adaptor in the Management Console. The <adaptor_name> case should
match the case used in the console.
If your adaptor template has multiple interface functions, specify the
one that you want to execute by using the entry_name option. The entry_name must
match the name attribute specified for interface element in your adaptor template.
In the following example, the entry name is TestFunction.
To execute a different interface, edit the adaptor template to set the
default attribute to true (default="true") on the interface that you want
to execute.
Examples
.test MyTestAdaptor
.test MyTestAdaptor TestFunction
Notes
To create an adaptor or view a list of adaptors, select Projects > Adaptors.
The adaptor templates provided with the Build Forge product are located
in: