Session 1
Session 1
Quality
Assurance
Some known statistics for you
Most bugs are not because of
mistakes in the code …
Testing Types
• Integration testing
• System Testing
Test process and Management
• Software Process and Testing
• Review and Inspections
• Software Test Management- Test Plans
and Reports
• Reliability Analysis
Introduction
Show that products are ready Determine system capabilities Reduce the number of early
for integration or use. and limitations errors propagated through
to later phases
Demonstrate functions under Determine quality of Clarify system specifications
special conditions components, work products, and performance
and the system
Identify ways to avoid risks
And problems in the future.
Basic definitions
Error (mistakes) - we call them BUGS
Fault ( defect) – result of an error
Failure – occurs when faults execute
Incident – symptom of failure
Test- is obviously concerned with all the above and
is the art of exercising software with test cases
Test case- has an identity and is associated with
program behavior
• Mistake – a human action that produces an incorrect
result.
• Fault [or Defect] – an incorrect step, process, or data
definition in a program.
• Failure – the inability of a system or component to
perform its required function
• within the specified performance requirement.
• Error – the difference between a computed, observed,
or measured value or
• condition and the true, specified, or theoretically correct
value or condition.
• Specification – a document that specifies in a
complete, precise, verifiable manner, the requirements,
design, behavior, or other characteristic of a system or
component, and often the procedures for determining
whether these provisions have been satisfied.
Test case
Contents of a Test Case
Inputs
Expected Outputs
Observed Outputs
Pass/Fail
Taxonomy -- Boris Bezier
Specification Program
(expected) (observed)
"Correct"
Portion
Testing Program Behavior
Specification Program
(expected) (observed)
Test Cases
(verified)
Basic Approaches
Specification Program
Functional Structural
(Black Box) (White Box)
establishes confidence seeks faults
Mainline Functional Testing Techniques
Specification based testing ( Functional)
2. Equivalence Partitions
3. Robustness Testing
Output = F ( Input )
Domain Range
Functional testing uses information about functional mappings
to identify test cases: