Succeeding with Use Cases: Working Smart to Deliver Quality
The overall lesson of this chapter is that model-based specification, in addition to being a good tool for use case failure analysis, is a good tool for test design: any work done modeling the use case for failure analysis is easily translated into test cases. Here's a review of the two major sections of this chapter. In the first section, you learned why preconditions, postconditions, and invariants, taken as a unit, are a veritable triple threat test case for black-box testing:
The second section reviewed Binder's Extended Use Case Test Design Pattern, a method of specifying test cases from a use case by modeling the use case as a relation described via a decision table, called an operational relation. You also learned that model-based specification can be used as a relational description of a use case and is easily translated into the decision table format of an operational relation. This approacha model-based specification-style operational relationcoupled with an expanded table format, has a number of benefits:
|