Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

The Testpoints Window

The Testpoints Window is the hub where Test Domain constraints are composed. It is also the control that lets you verify a  particular Test Domain on a program. The program might be already running or it can be launched using the control's Toolbar. Here you will also be able to see the results of your tests, as they happen. This control is context-sensitive, responding to the selection of elements in the Project Browser or on a diagram. Depending on the selection, tests can be carried out on a single class, a Use Case (Test Set) or a collection of Use Cases (A Test Suite).

Access Analyzer | Testpoint Manager

Testpoint Window Columns

Column

Usage

See also

Tests

Displays the name of the selected Testpoint object and the hierarchy of objects beneath it.

The selected object can be a:

  • Class
  • Operation
  • Test Cut
  • Test Set or
  • Test Suite

Test Cut Test Suite Test Set

Id

For an Operation, this column shows a Testpoint marker icon () when the Analyzer has successfully bound this operation in the target application.  If no icon appears in this column during a run, it indicates that the model and code base may not be synchronized; perhaps the signature of the function has changed, or the operation may be a new method you are working on, that exists in the source code but not yet in your model.

For a Testpoint, this column shows a generated id number. This id number is used in trace output to indicate which constraint is being referenced.

Constraints

A pencil icon () in this column indicates that one or more constraints are defined for this Class or Operation.

Testpoint Editor

Status

During a test run, indicates these possible statuses:

  • () Failed - Constraint has evaluated as false one or more times.
  • () Invalid Statement - Constraint failed to parse due to invalid syntax.
  • () Variable not found - A referenced variable name was not found at the location where the constraint was evaluated.

No icon is shown if a constraint has Passed.

Evals

During a test run, indicates the number of times the Execution Analyzer has evaluated this constraint.

Passes

During a test run, indicates the number of times the test passed.

Fails

During a test run, indicates the number of times the test failed.

Last Run By

Displays the username of the last person to run this test.

Last Run Date

Displays the date and time this test was last evaluated.

Last Run Result

Displays the result of the last test run.

Parent Collections Pane

Lists any parent collections that include the selected object as part of their design.

Double-click this collection to make it the selected object in the left pane.

The Parent Collections pane can be hidden by clicking the Show / Hide Parent Collections pane button on the Testpoints Window Toolbar.

Learn more

Learning Center topics

  • Alt+F1 | Enterprise Architect | Execution Analysis | Testpoints |
         -  Add Class
         -  Add Test Cut
         -  Add Test Set
         -  Add Test Suite