Book a Demo

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

Prev Next

Create Test Records

When you need to create or edit a test record on an element, for any of the six types of test, you can do so using the Construct window.

Whichever type of test you are recording, you complete effectively the same fields.

Access

Ribbon

Start > Explore > Properties > Construct : Hamburger arrow. | Tests | <test class> : New icon.

Start > Explore > Browse > Element Browser > Testing > Add New <test class> (complete Construct window fields)

Construct > Testing > Tests > <test class> :  New icon. (complete Construct window fields)

Keyboard Shortcuts

Alt+3 : <test class> New icon. (complete Construct window fields)

Click on the element on a diagram | Press T

Create a test record

Field/Button

Action

See also

Test

Type the name of the test. This can be any alphanumeric text string you want to use.

Auto

As an alternative to typing in the name, click on Browse. to insert predefined auto-counter text; if you do not have auto-counter text configured, an information message displays.

If you already have some text in the 'Test' field, it is over-written by the auto-counter text.

Set Auto Naming and Auto Counters

Type

Click on the drop-down arrow and select the value indicating the type of test (Load, Regression or Standard).

Run Date

Click on the check box and then on the drop-down arrow and select the date on which the test is to be run (or when it was last run).

Result

Click on the drop-down arrow and select the value indicating the current status of the test (Not Run, Pass, Fail, Deferred or Canceled).

Run By

Click on the drop-down arrow and select the name of the person who is to run, or has run, the test. (Possible values are derived from the Project Author definitions in the 'People' dialog - select the 'Configure > Reference Data > Project Types > People > Project Authors' ribbon option.)

Check By

Click on the drop-down arrow and select the name of the person who is to check, or has checked, the test run.

Description

Type a description of the test; you can format the text using the Notes toolbar at the top of the field.

Notes Toolbar

Input

Type in the input data provided to the test; you can format the text using the Notes toolbar at the top of the field.

Acceptance Criteria

Type the acceptance or test success conditions; you can format the text using the Notes toolbar at the top of the field.

Results

Type the results of the last test; you can format the text using the Notes toolbar at the top of the field.

Save

Save

Click on this icon to save the data you have entered and to add the entry to the Testing window and the Project Browser

Notes

  • On the Construct window you can quickly add a series of tests of one type or several types, using the New icon. icon or the Hamburger arrow. icon
  • To access an existing item for editing, display the Testing window for the element and click on the item; the details display in the Construct window where you can edit them
  • To delete an item, click on it on the Testing window or Construct window and click on the Delete icon in the window toolbar; in response to the confirmation prompt, click on the Yes button
  • A further possibility for generating and editing Test items is to right-click on the Testing folder in the Element Browser - or the required item within the folder - and select menu options to perform the required operation in the Construct window
  • To change the element for which to create or edit test items, click on the element in a diagram or the Project Browser
  • In the Corporate, Unified and Ultimate editions of Enterprise Architect, if security is enabled you must have 'Manage Tests' permission to add, update and delete test records