Ch 8 & 9 Quiz 5 Flashcards
T/F: one of the main goals of a good class design is that of localizing change- making changes to one class should have cascading effect on other classes
F: one of the main goals of a good class design is that of localizing change- making changes to one class should have minimal effects on other classes
Study #8
8
T/F: one advantage of high cohesion is the decreasing of code reuse; allowing the code to handle unique cases and not worry about others
F: one advantage of high cohesion is the increasing of code reuse; allowing the code to handle unique cases and not worry about others
Regression testing
Involves rerunning tests that have previously passed, to ensure that a new version still passes them.
- much more likely to be preformed if it can be automated
- one of easiest ways to automate regression tests is to write a program that acts as a test rig or test harness
Study #15
15