Running a test
There are a number of options available to run a test.
You can right-click on it in the
Test Navigator of the
Test Perspective and select Run As > Run or
Run As > Test. If the latter option is chosen, TPTP will automatically run the selected test without invoking the launch configuration dialog.
If the former option is selected, the launch configuration dialog will be opened and the
user can configure its various properties as required. This is also the case when the
Run... menu is opened without right-clicking on a test. So, in either of these
situations, the Run (launch configuration dialog) launches.
The Run dialog has three tabs: Test
, Test Logs
, and Common
If a run configuration does not exist:
- Ensure that the Test
section is selected in the Configurations pane. Click New.
Select the Test tab and type a name into the Name
- Select the test to be run in the Select test to run
pane and optionally the deployment to run it under in the Select a deployment pane.
By default the test will be deployed locally; to change this see the
Creating a Deployment
Click on the Apply button to save your changes. Optionally click on the Run
button to save your changes and to launch the test. The TPTP test will then run.
The Test tab has two panes: Select test to run and
Select a deployment.
In the Select test to run pane, navigate to the test that you wish to run. The Select a deployment pane lists the local deployment and all deployments that you created. To run a test, a deployment must be selected.
Test Logs Tab
The Test Logs
tab allows you to override the log defaults if you wish.
For information about the Common Tab, read the
Generic launch configuration properties topic.
Generic launch configuration properties