This topic explains the general procedure for running tests from the SOAtest GUI.
Sections include:
Running a Test
Parasoft can perform a variety of software quality practices, such as static analysis, functional testing, and regression testing. These activities are execute with SOAtest by running a Test Configuration, which defines the precise nature and scope of the test or analysis.
SOAtest is packaged with a number of preconfigured Test Configurations, which are described in Built-in Test Configurations. See Configuring Test Configurations and Rules for Policies for information about creating a custom Test Configuration.
In addition to customizing Test Configurations, you may also want to configure task assignment, reporting, and other preferences as described in the Configuration before you start testing.
The general procedure for testing from the GUI is as follows:
- Select the resources you want to analyze or the tests you want to execute in the Test Case Explorer or Navigator view. You can use Ctrl + click or Shift + click to select multiple resources.
- Start the test in one of the following ways:
- To run the Favorite Configuration (this is the default Test Configuration), perform one of the following actions:
- Click the Test button in the toolbar.
- Choose Parasoft> Test Using [Favorite Configuration] from the menu bar.
- Right-click the resource, then choose SOAtest> Test Using [Favorite Configuration] from the shortcut menu.
- To run a specific Test Configuration, perform one of the following actions:
- Choose the appropriate Test Configuration from the Test Using section of the Test button’s pull-down menu.
- Choose the appropriate Test Configuration from the Parasoft> Test Using menu in the menu bar.
- Choose the appropriate Test Configuration from the Parasoft> Test History menu in the menu bar. Note that this menu contains only the most recentlyrun Test Configurations.
- Right-click the selection, then choose the appropriate Test Configuration from the SOAtest> Test Using shortcut menu.
- Right-click the selection, then choose the appropriate Test Configuration from the SOAtest> Test History shortcut menu.
- To rerun the same tests that were run in your previous test run, click the Rerun Tests button in the Test Progress view.
- To run the Favorite Configuration (this is the default Test Configuration), perform one of the following actions:
SOAtest will then run the test scenario defined by the selected Test Configuration.
Reviewing Results
Test progress and results summaries will be reported in the Test Progress tab that SOAtest opens when it starts the test. Detailed results will be reported in the Quality Tasks view. Drill down to see details about the test findings.
The general procedure for reviewing results (as well as generating reports) is common across the various products in the Parasoft Test family, and is described in Reviewing Results.
Fine-Tuning Test Settings
To change test settings—such as what rules are checked—edit an existing Test Configuration or create a new one, then run a test using the modified/new Test Configuration. Test Configurations and all related parameters can be viewed, edited, and modified in the Test Configurations dialog. To open this dialog, choose Parasoft> Test Configurations from the menu bar.
For the general procedure for configuring Test Configurations, see Configuring Test Configurations and Rules for Policies.
For details on Test Configuration settings available for SOAtest, see SOAtest Test Configuration Settings.