Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Application Testing Guide
Previous Page Home Next Page

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.

Run dialog

The Run dialog has three tabs: Test, Test Logs, and Common.

If a run configuration does not exist:

  1. Ensure that the Test section is selected in the Configurations pane. Click New.
  2. Select the Test tab and type a name into the Name field.
  3. 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 topic.

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.

Test Tab

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.

Common Tab

For information about the Common Tab, read the Generic launch configuration properties topic.

Related concepts
Deployment Editor

Related reference
Generic launch configuration properties

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire