Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
Import Responsibility or Constraint as Test
If you are creating a test against a responsibility (internal requirement) or internal constraint of an element, you do not have to manually re-type the details into the test record in the Testing window. You can generate a testing record on the element from the responsibility or constraint.
The test record is generated into the test-type tab that you currently have open, and the responsibility or constraint description is copied to the 'Description' tab for the test record.
Access
Select an element, then use one of the methods outlined here to display the Testing window and show the required class of tests. Then, in the Testing window:
- Right-click on test list | Import element constraint(s) or
- Right-click on test list | Import element requirement(s)
Alternatively, select an element, then open the Element Browser and, within the Testing folder:
- Right-click on test of required class | Import element constraint(s) or
- Right-click on test of required class | Import element requirement(s)
Ribbon |
Construct > Testing > Test Windows > <test class> > Right-click on test list > Import element constraint/requirement Start > Explore > Element Browser > Right-click on test of required class > Import element constraint/requirement |
Keyboard Shortcuts |
: <test class> | Right-click on test list | Import element constraint/requirement : Right-click on test of required Class | Import element constraint/requirement |
Import a requirement or constraint as a test
Step |
Action |
See also |
---|---|---|
1 |
On the 'Import Constraint' or 'Import Requirements' dialog (the two dialogs are identical) review the list of internal requirements or constraints in the selected element. |
|
2 |
Click on one of the items to import as a test, or press on more than one to import several. Click on the . Each item is added to the list of tests in the Testing window, on the selected <test-type> tab, as a standard, 'Not Run' test. |
|
3 |
Edit the items to complete their definition as tests. |
Notes
Learn more