15.4. Finding Test Cases from the Models

The purpose of the use cases is to gather requirements as a basis for abstraction. As you abstract the domain solution from the user's language used in the use cases, they may no longer be directly mappable to the models. Because the models are the final description of the system, we recommend against polishing the use cases and against spending time and effort making the use cases match the models exactly.

The test cases we build now are polished use cases that are built on the basis of the new information we gathered as we abstracted information, and constructed the models. Although the connection between the original use cases and the test cases is less straightforward, the reverse abstraction back ...

Get Executable UML: A Foundation for Model-Driven Architecture 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.