A test suite should be constructed in advance A test suite is an important complement to the specification of a software component. Finding and fixing early lowers development costs. Unit testing Each unit of an application may be tested. 6 Testing and debugging techniques Unit testing (within BlueJ and eclipse) Test automation Regression testing Manual walkthroughs Print statements Debuggers Objektorienterad programmering, DAT050, DAI2, 17/18, lp 1 DAT050, 17/18, lp 1Ĩ Objektorienterad programmering d2, förel. Objektorienterad programmering d2, förel. The manifestation of an error may well occur some ‘distance’ from its source. Debugging searches for the source of errors. Testing and debugging Testing searches for the presence of errors. Objektorienterad programmering, DAT050, DAI2, 17/18, lp 1 DAT050, 17/18, lp 1Ħ Objektorienterad programmering d2, förel. Verification can prove the absence of errors, but Demands formal analysis (proof). 6 Testing vs verification Testing can prove the presence of errors but not the absence of errors (in general). Testdriven utveckling Objektorienterad programmering, DAT050, DAI2, 17/18, lp 1 DAT050, 17/18, lp 1 Use software engineering practices, like documentation and testing. Use software engineering techniques, like encapsulation, modularization, design patterns We can improve the chances of detection. 6 Prevention vs Detection (Developer vs Maintainer) We can lessen the likelihood of errors. Objektorienterad programmering, DAT050, DAI2, 17/18, lp 1 DAT050, 17/18, lp 1Ĥ Prevention vs Detection (Developer vs Maintainer) The may show up only under special conditions. Some logical errors have no immediately obvious manifestation. 6 We have to deal with errors Early errors are usually syntax errors. 6 Main concepts to be covered Testing Debugging Test automation Manual methods Objektorienterad programmering, DAT050, DAI2, 17/18, lp 1 DAT050, 17/18, lp 1 6"- Presentation transcript:ġ Objektorienterad programmering d2, förel. Presentation on theme: "Objektorienterad programmering d2, förel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |