Testing Flashcards
software quality
desirable attributes of software products
8 product quality model
functional suitability performance efficiency compatibility usability reliability security maintainability portability
software testing
investigation conducted to provide info about the quality of the software product
correctness
perform exact tasks
robustness
react appropriately to abnormal condition
reliability
degree to a software behaves robustly overtime
reliability measurement
metrics: mean time to failure mean time to repair mean time between failure rate of occurrence of failure probability of failure on demand
causes to reliability problems
incomplete testing, require
require changing during dev
software error terms
fault/ defect / bug/ flaw:
failure: unexpected run-time behavior observed by the user of the system
failure with
syntax fault
run time
logic
RIP model
failure determination
reachability: location
infection:
propagation: cause some incorrect output of program
failure categories
transient occurs only with certain input permanent recoverable unrecoverable: sys recovery need to have operator intervention non-corrupting corrupting data
verification in testingq
static : code
dynamic: run with test data
exhaustive test
produce all possible combination of input data values and compare outputs
testing golden rules
maximize the number and severity of defects found per dollar spent
only presence of error
black box testing
having no knowledge of how the code works
-> input and expected output
black box strategy
boundary value
equivalence partitioning
cause and effect graph