Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 8: Software Testing - Coggle Diagram
Chapter 8:
Software Testing
Testing
Purpose
discover program defects
show program does what it is intended to do
How?
using artificial data (dummy data)
Validation Testing
Purpose
demonstrate to developer and customer that the software meets its requirements
How?
Custom software
at least one test for each requirements
Generic software product
tests for all system features and their combinations
Defect Testing
Purpose
rooting out undesirable system behaviour
example of undesirable system behaviour
incorrect computation
system crashes
unwanted interation with other systems
data corruption
Terminology
Failure
Deviation of components/system from its expected delivery
everything stop at the moment, cannot operate
effect of defect when executing program
Defect
Flaw in component/system cause component/system fail to perform its required function
result in failure
also called fault, bug
Error
human action produces incorrect result
result in defect in the software
Software Testing
Definition
process consisting of all life cycle activities, both static and dynamimc, concerned with planning, preparing and evaluation of software products and related work products to
determine that they satisfy specified requirements
demonstrate that they fit fore purpose
detect defects
V&V
validation
satisfied customer's requirements
verification
correctly implement a defined functionality
V&V Confidence
Software Purpose
User expectation
market environment
Test Cases
Definition
A set of input values, execution preconditions, expected results, execution postconditions, developed for a particular objective or test condition
Example