Menu Path: View>Test Manager...

Toolbar: >Test Manager

Read Access Rights:

  • Log in to Rhapsody IDE
  • View locker

Write Access Rights:

  • Make changes with RHapsody IDE
  • Edit locker
  • Test filter configurations
  • Test conditional connectors

The Test Manager provides a centralized hierarchical view of all the filter and conditional connector tests in your configuration, and enables you to manage and run tests across components:

The Test Manager provides the following information:

Column Description
Included

Indicates the tests that are to be run when the Run Checked Tests button is selected. If you check the Include checkbox for a component, all the tests associated with that component are selected. All test selections are preserved when you close and re-open the Test Manager.

Component

The path and name of the component associated with tests. Components are displayed hierarchically in the following order:

  • For filter tests: route (including its path), filter.
  • For conditional connector tests: route (including its path), filter, conditional connector.

The number of tests selected (checked) to run, and the total number of tests are displayed in brackets next to the component name.

You can manage tests for each component by double-clicking on it to display the:

Result

The cumulative result representing the component's test results (ranked in order of priority):

  1. Failed (includes Failed, Error and Invalid results).
  2. Passed.
  3. Executed.
  4. Skipped (filters only).
  5. None (represented by a blank field).

The cumulative result of a group of component tests is determined by the highest priority result in the group of tests. For example, for a component with three tests, one Failed and two Passed, the cumulative result is Failed. For a description of each type of test result, refer to Filter Test Results.

To review the results of the individual tests, click on the result (or component name). Refer to:

Viewing Tests

To launch the Test Manager:

  • From the View menu, select Test Manager.
  • Alternatively, press Ctrl+SHIFT+Q.

Managing Tests

You can perform the following actions from the Test Manager or via the right-click menu:

Action Description
Add

Enables you to add a new test. Refer to:

Edit

Enables you to edit an existing test. Refer to:

Delete

Enables you to delete all tests for a selected component.

Conditional connectors with the same source filter share the same tests. Deleting all tests from a conditional connector, therefore results in the tests from all connectors with the same source filter being deleted.

Run Test

Enables you to run tests for the currently selected component. Refer to:

Run Checked Tests Enables you to run all tests that are checked. Refer to:
Generate Report Enables you to generate a PDF report with a testing summary for your configuration.
Component Filters

You can filter the list of displayed tests by:

  • Result - the test result (All, Passed, Failed, Executed, Skipped, None).
  • Components - all components, components without tests, or components with tests.

    Source filters store the tests for any associated conditional connectors. Therefore source filters with no tests of their own that have conditional connectors with tests are considered components with tests.

  • Selection - all components, checked components, unchecked components.
  • Text Filter - a text string contained in component path and name.

The Test Manager displays the total number of components (filters and conditional connectors) on the engine and the number of components being displayed with the filtering criteria applied. Of the total number of filtered tests, the number of checked tests and passed tests are also displayed.

Select All
Deselect All

Enable you to select or deselect all tests.

Generating a Test Report

You can generate a PDF report with a testing summary for your configuration, including:

  • A title page (if required).
  • A table of contents.
  • An overall summary of tests:
    • The total number of components (filters and conditional connectors) on the engine.
    • The total number of components with tests.
    • The total number of components with Failed tests.
    • The total number of components with Passed tests.
    • The total number of components with tests executed successfully with no expected output.
  • A list of components with Failed tests, on a per locker, per route basis. For each component, the number of tests selected to run and the total number of tests are displayed. All components with Failed tests are printed regardless of the component filters applied in the Test Manager.

To generate a test report:

  1. Select the Report button to display the Document Generation Report dialog:

  2. Enter the filename and select the path to save the report to:

    Field
    Description
    Save PDF as The filename and path of the generated PDF report.
  3. Enter title page information for the report, if required:

    Field
    Description
    Include Title Page Whether to include a title page.
    Title Page Heading The title page heading.
  4. Set the report settings:

    Field
    Description
    Page size The page size of the report.
  5. Select OK to generate the report, or the Cancel button to abort.

Access Rights

If you have the access right... You can...
'View Locker' 'Edit Locker' 'Test filter configurations'
'Test conditional connectors'

Launch the
Test Manager

View
Tests
Edit/Add
Tests 
Run
Tests 
(error) (error) (error) (tick) (error) (error) (error)
(tick) (error) (error) (tick) (tick) (error) (error)
(tick) (error) (tick) (tick) (tick) (error) (tick)
(tick) (tick) (tick) (tick) (tick) (tick) (tick)