This shows you the differences between two versions of the page.
software_carpentary2 [2011/06/20 03:45] medhamsh |
software_carpentary2 [2018/03/24 11:13] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Quality Assurance ====== | ||
- | |||
- | |||
- | The more you invest in quality, the less time it takes to develop working software.\\ | ||
- | Quality is not just testing\\ | ||
- | Trying to improve the quality of software by doing more testing is like trying to lose weight by weighing yourself more often. (Steve McConnell)\\ | ||
- | |||
- | Quality is: | ||
- | |||
- | * Designed in | ||
- | * Monitored and maintained through the whole software life cycle | ||
- | |||
- | This lecture looks at basic things every developer can do to maintain quality. | ||
- | |||
- | ===== Limits to Testing ===== | ||
- | |||
- | * Suppose you have a function that compares two 7-digit phone numbers, and returns True if the first is greater than the second | ||
- | * 1072 possible inputs | ||
- | * At ten million tests per second, that's 155 days | ||
- | * If they're 7-character alphabetic strings, it's 254 years | ||
- | o Then you move on to the second function... | ||
- | * And how do you know that your tests are correct? | ||
- | * All a test can do is show that there may be a bug | ||