background image
<< Integration of Objects Under Test | System Testing for C >>
<< Integration of Objects Under Test | System Testing for C >>

Understanding Java Component Testing UML Sequence Diagrams

Automated Testing
All verifications pass on each execution
Passed
Understanding Java Component Testing UML Sequence
Diagrams
During the execution of the test, Component Testing for Java generates trace data this
is used by the UML/SD Viewer. The sequence diagram uses standard UML notation
to represent JUnit test results.
When using Runtime Tracing with Component Testing for Java, all results are
generated in the same sequence diagram.
The following example illustrates typical results generated by a JUnit test script:
Instances
Each of the following classes are represented as a distinct object instance:
· TestSuite
· Derived test case classes
You can click an instance to highlight the corresponding statement in the Text Editor
window.
189