Book a Demo
Prev Next

Test Management

Testing banner

Enterprise Architect is not only a UML Modeling environment, it is also a complete Test Management environment. Using Enterprise Architect you can create and manage test scripts for model elements, developing unit, integration, scenario, system, acceptance and inspection tests; these can include test cases generated from xUnit testing and Testpoint Management.

You can also import or move tests from other elements, generate them from scenarios, and generate test documentation and reports; you can indicate the presence of tests on an element by displaying test information in a compartment of the element in a diagram.

It is simple to attach even complex tests to any model element. Keeping the model elements and the testing documentation in one integrated model significantly improves the communication between the test-team and the software developers and architects.

The system's detailed search facilities make it easy to find failing test cases, test cases not run and test cases that have been passed; using the testing and search capabilities, it is easy to navigate through the model and quickly locate problem spots, design flaws and other critical issues.

Test Tasks



See also

Create Tests

You initially create tests in either the 'Test Details' dialog or the Test Cases window.

Typically, you create:

  • Unit tests for things that are being built, such as Classes and components
  • Integration tests to test how components work together
  • System tests to ensure the system meets business requirements
  • Acceptance tests to test user satisfaction
  • Scenario tests to test the end-to-end suitability and functionality of the application
  • Inspection tests for peer review of things that are being built using a well defined process

These test categories are otherwise referred to as test Classes.

There is also a 'Full Test Suite' tab that displays a read-only list of all the Test items on the element, grouped by type. If you double-click on an item in this list, the appropriate tab displays with the item highlighted.

The Construct View Create Test Records Test Class

Using Tests

Tasks that you might perform via the Test Cases window when working with tests include:

  • Create and edit test records
  • Import a scenario from an element or a Package as a test
  • Import an internal requirement or constraint as a test
  • Import a test from another element
  • Create a maintenance item from a test
  • Move or copy tests between test classes
  • Move a test from one element to another
  • Print the list of tests of the current test class for the element
  • Delete the test
Import Scenario as Test Move or Copy Tests Between Test Classes Import Test From Other Elements Inspector - Details Import Requirement or Constraint as Test Create Maintenance Item From Test Testing Details Report Show Test Script Compartments Test Documentation Move Tests Between Elements


  • Most of the listed tasks relate to a tests for a single element
  • You can display the Test Cases window for an element on a diagram, by clicking on the element and pressing the T key
  • You can make a set of tests available to a number of elements by performing the listed tasks on a Test Case element and then associating that Test Case with each of the other elements; the Test Case element also helps to make tests more visible in diagrams, the Browser window, windows and searches

Learn more