Exercises

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?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.42.158