Professional Documents
Culture Documents
1
© Oxford University Press 2011. All rights reserved.
Chapter 2
Software Testing Terminology
and Methodology
2
© Oxford University Press 2011. All rights reserved.
Objectives
3
© Oxford University Press 2011. All rights reserved.
Software Testing Terminology
• Failure
The inability of a system or component to perform a required
function according to its specification.
4
© Oxford University Press 2011. All rights reserved.
Software Testing Terminology
Error
Whenever a member of development team makes any mistake in
any phase of SDLC, errors are produced. It might be a typographical
error, a misleading of a specification, a misunderstanding of what a
subroutine does and so on. Thus, error is a very general term used
for human mistakes.
5
© Oxford University Press 2011. All rights reserved.
Software Testing Terminology
6
© Oxford University Press 2011. All rights reserved.
7
© Oxford University Press 2011. All rights reserved.
Software Testing Terminology
• Testware
The documents created during the testing activities are known as
Testware.
• Incident
the symptom(s) associated with a failure that alerts the user to the
occurrence of a failure.
• Test Oracle
to judge the success or failure of a test,
8
© Oxford University Press 2011. All rights reserved.
Life Cycle of a Bug
9
© Oxford University Press 2011. All rights reserved.
States of a Bug
10
© Oxford University Press 2011. All rights reserved.
Bug affects Economics of Software Testing
Software Testing Myths
11
© Oxford University Press 2011. All rights reserved.
Bug Classification based on Criticality
• Critical Bugs
the worst effect on the functioning of software such that it stops or
hangs the normal functioning of the software.
• Major Bug
This type of bug does not stop the functioning of the software but
it causes a functionality to fail to meet its requirements as
expected.
• Medium Bugs
Medium bugs are less critical in nature as compared to critical and
major bugs.
Minor Bugs
12
© Oxford University Press 2011. All rights reserved.
Bug Classification based on SDLC
13
© Oxford University Press 2011. All rights reserved.
Testing Principles
14
© Oxford University Press 2011. All rights reserved.
Testing Principles
15
© Oxford University Press 2011. All rights reserved.
Software Testing Life Cycle (STLC)
16
© Oxford University Press 2011. All rights reserved.
Test Planning
17
© Oxford University Press 2011. All rights reserved.
Test Planning
18
© Oxford University Press 2011. All rights reserved.
Test Design
19
© Oxford University Press 2011. All rights reserved.
Test Execution
20
© Oxford University Press 2011. All rights reserved.
Post-Execution / Test Review
21
© Oxford University Press 2011. All rights reserved.
Software Testing Methodology
22
© Oxford University Press 2011. All rights reserved.
Test Strategy Matrix
23
© Oxford University Press 2011. All rights reserved.
Development of Test Strategy
24
© Oxford University Press 2011. All rights reserved.
V Testing Life Cycle Model
25
© Oxford University Press 2011. All rights reserved.
Validation Activities
• Unit Testing
– Confirms the behavior of a single module according to its
functional specifications
• Integration Testing
– Integrating the units according to system design and perform
test on their aggregation.
• Function Testing.
• System Testing
– Validity of the whole system is checked against the
requirement specifications
• Acceptance Testing
26
© Oxford University Press 2011. All rights reserved.