This lesson is focussed on testing different combinations and how complex it can become.
Learning Objectives
The video discusses the impossibility of complete testing in software development due to the sheer number of variables and combinations that need to be tested, as well as the potential for errors that occur over time. Combination testing and testing for consequences are important techniques to optimize sampling and uncover potential bugs. The complexity and number of paths in a program make it impossible to test every scenario, highlighting the need for skilled testers to prioritize and strategize their testing efforts.
Video Highlights
Topic | Key Concepts | Video Location |
---|---|---|
Even when testing one variable at a time, it is impossible to test everything that can be thrown at that variable, and testing variables together can result in unexpected errors. |
| 00:01 |
Combinations of data can lead to overflow or rounding errors, which can cause problems in the field. |
| 02:28 |
The lecturer discusses the importance of testing for consequences and provides examples of testing sequences. |
| 04:59 |
The impossibility of testing all possible paths in a program. |
| 07:27 |
Learning Highlights
When testing individual variables, complete testing is often impossible due to various combinations and interactions in a program. The example highlights the oversight of not testing certain combinations, leading to system crashes. Combination testing, such as configuration testing, addresses this by testing variables together. The lecture introduces the concept of set-use pairs and emphasizes testing for consequences, considering how a program uses variable values. The complexity of testing sequences is illustrated with a program involving loops, demonstrating the impracticality of testing all possible paths.