What About Other Types of Testing?

Some UML diagrams can also help you with non-functional testing. We previously discussed the annotation of activity and sequence diagrams when performance requirements need to be tested (e.g., response time, processing time, delays). As you levy performance requirements on a system, you can make explicit the “budgeting” (i.e., allocation) of those requirements to the various lower-level components directly on the appropriate UML diagram. (Also, in UML 2.0, numerous additions have been made related to time—the new timing diagrams, enhancements to sequence diagrams and state machine diagrams, and so forth.)

Performance and Regression Testing

UML can also help you understand performance issues early in development, ...

Get UML for Mere Mortals® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.