



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document from cs 451 software engineering course at the university of waterloo, winter 2009, covers various types of testing, including unit testing, integration testing, system testing, acceptance testing, regression testing, and alpha/beta testing. The concepts, benefits, and challenges of each testing type and provides strategies for integration testing, such as top-down, bottom-up, and sandwich integration. The document also discusses dealing with cyclical dependencies and provides resources for further learning.
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




def fib(n) return 1 if n <= 1 return fib(n - 1) + fib(n - 2) input (^) end output
Whole system is available Components likely to be completed at different times Harder to locate errors
Need to develop scaffolding code Focus is on each module Easier to locate errors
Invokes the module under test Controls and monitors execution Report test results
Simulates a module not written/tested yet Can be difficult to write Need to avoid writing actual module
Top module is tested with stubs Stubs are replaced in depth first order Some tests are re-run as new modules are integrated A B C D E F
Bottom module is tested with driver Drivers are replaced in reverse depth first order Integrated modules grouped together as move up A B C D E F
Top module is tested with stub Bottom module is tested with driver Drivers and stubs are replaced layer by layer Integrated modules grouped together as move up A B C D E F
5'"()%5+#,)%(E%#,)%FE%#,)%&-%. #5%+(%33%8- A1)GA,%8: #,)%H%3%F%9%(: #5%++(%33%F%II%F%33%&-%JJ%+H%23%&-- H%3%K&: A1)GA,%4L5%9%H: ?
5'"()%5+#,)%(E%#,)%FE%#,)%&-%. #5%+(%33%8- A1)GA,%8: #,)%H%3%F%9%(: #5%++(%33%F%II%F%33%&-%JJ%+H%23%&-- H%3%K&: A1)GA,%4L5%9%H: ?
5'"()%5+#,)%(E%#,)%FE%#,)%&-%. #5%+(%33%8- A1)GA,%8: #,)%H%3%F%9%(: #5%++(%33%F%II%F%33%&-%JJ%+H%23%&-- H%3%K&: A1)GA,%4L5%9%H: ?
5'"()%5+#,)%(E%#,)%FE%#,)%&-%. #5%+(%33%8- A1)GA,%8: #,)%H%3%F%9%(: #5%++(%33%F%II%F%33%&-%JJ%+H%23%&-- H%3%K&: A1)GA,%4L5%9%H: ?
Skip loop entirely Go through loop once Go through loop more than once
Console - http://emma.sourceforge.net Eclipse Plugin - http://www.eclemma.org