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

Testing

testing1

Topics

Topic

Detail

See also

Introduction to Testing

Enterprise Architect enables you to create and manage test scripts for model elements, covering unit, integration, scenario, system and acceptance tests; this can include test cases generated from xUnit testing and Testpoint Management.

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

Enterprise Architect enables you to attach arbitrarily 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 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.

Enterprise Architect is not only a UML Modeling environment, it is also a complete Test Management environment.

 

xUnit Testing

Testpoint Management

Basic Tasks

Simple tasks that you might perform include:

Open the Testing Workspace
Use the Test Details dialog

 

The Testing Workspace

The Test Details Dialog

Categories

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, and
Scenario tests to test the end-to-end suitability and functionality of the application

 

Unit Tests

Integration Testing

System Testing

Acceptance testing

Scenario testing

Using Tests

Other tasks that you might perform when working with tests include:

Import a scenario as a test
Move or copy tests between test types
Import a test from other elements
Import a responsibility or constraint as a test
Create a maintenance item from a test
Generate a Test Details report
Show test script compartments
Create test documentation

Import a Scenario as a Test

Move or Copy Tests Between Test Types

Import a Test from Other Elements

Import a Responsibility or Constraint as a Test

Create a Maintenance Item from a Test

Generate Test Details Report

Show Test Script Compartments

Create Test Documentation

 

Notes

Most of the tasks identified above relate to a tests for a single element
You can make a set of tests available to a number of elements by performing the above 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 Project Browser, windows and searches

Learn more

Learning Center topics

(Alt+F1) | Execution Analysis | Testing | Testing