Exercises


graphics/exercise.gif

2-1. Identify some object-oriented software that you can use to try the various techniques and issues we have discussed. Ideally the software will comprise a complete application, but you could select a few classes that work together. Collect analysis and design documents that relate to the software. If specifications exist for each class, then make sure they are well written that is, that they contain complete and unambiguous descriptions of every operation. If specifications do not already exist, create them. We recommend using OCL (see [WK99] for a description).

2-2. Review the various diagrams in this chapter for Brickles and make sure you understand them.

2-3. Think about how you would approach testing the class PuckSupply as specified in this chapter. Does testing this class depend on the correctness of the class Puck? Would Puck have to be tested first?



A Practical Guide to Testing Object-Oriented Software
A Practical Guide to Testing Object-Oriented Software
ISBN: 0201325640
EAN: 2147483647
Year: 2005
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net