Professional Documents
Culture Documents
Chapter 1 Slides
Chapter 1 Slides
Dynamic Static
Testing Testing
Software
Testing
Validation Verification
Providing
Work-product
Information to Reduce Risk
Evaluation
Stakeholders
Confirmation
Testing Debugging
Testing
In Agile development and in some other lifecycles, testers may be
involved in debugging and component testing
Quiz Time
• Which of the following statements is a valid objective for testing?
D. To prove that any remaining defects will not cause any failures
Quiz Time
• Which of the following statements is a valid objective for testing?
D. To prove that any remaining defects will not cause any failures
Quiz Time
• Which of the following statements correctly describes the difference between
testing and debugging?
A. Testing identifies the source of defects; debugging analyzes the defects and proposes
prevention activities
B. Testing shows failures caused by defects; debugging finds, analyzes, and removes the
causes of failures in the software
A. Testing identifies the source of defects; debugging analyzes the defects and proposes
prevention activities
B. Testing shows failures caused by defects; debugging finds, analyzes, and removes the
causes of failures in the software
Proper processes -> Work products higher quality -> Defect Prevention
Quality control involves various activities, including test activities, that support
the achievement of appropriate levels of quality
Defect
Error/Mistake Error Defect
(Fault-bug)
Failure
Error Defect
No
failure
Why do errors happen ?
The root causes of defects are the earliest actions or conditions that contributed to
creating the defects
Root Cause Analysis
root cause analysis can lead to process improvements that prevent a significant number of
future defects from being introduced
Root Cause Analysis
User Story
Defects, root causes and effects
• For example, suppose incorrect interest
payments, due to a single line of
incorrect code, result in customer
complaints
A. The product crashed when the user selected an option in a dialog box
B. The wrong version of one source code file was included in the build
A. The product crashed when the user selected an option in a dialog box
B. The wrong version of one source code file was included in the build
• Given this scenario, what is the root cause and what is the effect?
a. The root cause is the old equipment and the effect is the new equipment
b. The root cause is the customer complaints and the effect is the social media postings
c. The root cause is conducting the testing on the wrong version of the equipment and the effect is the
customer complaints and postings
d. The root cause is the software failing on the later model and the effect is the customer complaints
Quiz Time
• A new retail product was released to production by your company. Shortly after the release it was apparent
that there were numerous problems with the point of sale application. This resulted in a number of customer
complaints and negative postings on social media encouraging people to take their business to your competitor.
You have investigated the problems and have discovered that the production point of sale equipment is a later
model than the model used in testing. The software functions correctly on the old version, but fails on the later
model.
• Given this scenario, what is the root cause and what is the effect?
a. The root cause is the old equipment and the effect is the new equipment
b. The root cause is the customer complaints and the effect is the social media postings
c. The root cause is conducting the testing on the wrong version of the equipment and the effect is the
customer complaints and postings
d. The root cause is the software failing on the later model and the effect is the customer complaints
1.Testing shows the presence of defects, not their absence
If the same tests are repeated over and over again, these tests
no longer find any new defects
6-Testing is Context Dependent
B. With sufficient effort and tool support, exhaustive testing is feasible for all
software
B. With sufficient effort and tool support, exhaustive testing is feasible for all
software
There is no one universal software test process, but there are common sets of test
activities without which testing will be less likely to achieve its established objectives
Test Process in context
Test
Test Test Test
Test Planning Monitoring & Test Analysis Test Design Implementation
Control Execution Completion
• many of these activity groups may appear logically sequential, they are often implemented
iteratively
• For example, Agile development involves small iterations of software design, build, and
test that happen on a continuous basis, supported by on-going planning
• Even in sequential development, the stepped logical sequence of activities will involve
overlap
• Report Defects
A. Test monitoring
B. Test planning
C. Test closure
D. Test control
Quiz Time
• Which of the following is the activity that compares the planned test progress to the actual
test progress?
A. Test monitoring
B. Test planning
C. Test closure
D. Test control
Humans psychology & Testing
• Identifying defects may be perceived as criticism
of the product and of its author.
A. Escalate the issue to human resources and stress the importance of mutual respect
A. Escalate the issue to human resources and stress the importance of mutual respect