Professional Documents
Culture Documents
What is Testing?
A technical investigation
done to expose
quality-related information
about the product
under test
Week
Week
Rather than accepting the declining find rate, the Generic Test
Strategy (end of the slides) says, when the find rate drops, change
your focus or change your technique. That way, you pull the find
rate back up.
As a measure of progress, quality, or effectiveness, bug counts are
oversimplified, overused, and untrustworthy.
Softw are Testing as a Social Science Copyright © 2004, Cem Kaner 19
A Traditional Vision of Software Testing
• We start with an agreed product definition.
– The "definition" includes the set of requirements,
design, data, interoperability (and maybe some other)
specifications
– We may have helped shape the definition during
reviews of requirements and specifications.
• We will base system testing on this definition. Therefore:
– Analysis of assertions included in the documents is an
important skill, and an interesting area for automation.
– Traceability of tests back to the definition is important.
Tools that support traceability have significant value.
– Authoritative specifications are vital. If they are
unavailable, it is the task of the test group to engage in
"political" activities to motivate creation of suitable
documents.
Softw are Testing as a Social Science Copyright © 2004, Cem Kaner 20
A Traditional Vision of Software Testing
• The goal of system testing is verification of the product against
authoritative specifications.
– Our test population is a portion of the infinite population of
potential tests. We select a minimally sufficient set of tests via
analysis of the specifications.
– Coverage is achieved by having tests for every specification item.
An alternative type of coverage includes all length-N subpaths,
where paths are from operational mode (observable state) to mode.
– Testing progress is measurable in terms of % of planned tests
coded and passed.
– System testing is labor intensive. To the maximum extent possible,
we automate our tests, enabling efficient reuse.
– If test execution is expensive for a given project, we need selection
algorithms (and tools) that help us choose the regression test
subset most relevant for testing the program in the context of the
latest change.
System
Intended inputs under Monitored outputs
test
Configuration and Impacts on connected
system resources devices / system resources
These are NOT part of the main talk, but they tie
into it and some readers might find them useful.
Softw are Testing as a Social Science Copyright © 2004, Cem Kaner 32
Test cases
• In my view,