Test Generation Strategies Flashcards
What type of test generation needs requirements modeled using a formal notation?
Model-based test generation
Name some test generation strategies for requirements
- finite-state machines
- statecharts
- Petri nets
- timed I/O automata
- algebraic and logic specifications
- code + run-time data -> test selection
An informal process to review a work product
Walkthroughs
a formal review process with defined roles
Inspections
__% of software errors can be found by inspections
before the first test case is run
90
T/F Inspections are the least useful, least cost-effective form of error removal
F, most useful and most cost-effective
T/F At the inspection, specific metrics should be collected and tracked which will describe defects, defect removal efficiency, and efficiency of the inspection process
T
T/F The program needs to fund inspections and track rework savings
T
T/F Inspections are the most useful, most cost-effective form of error removal
T
T/F You should prioritize more complex modules for peer review
T
T/F cyclomatic complexity <10 good, >20 bad
T
Generation of tests from a formal model of program behavior
Model-based testing
List some sources of test generation
Black-box testing
White-box testing
Model-based or specification-based testing
Interface testing
List some test process models
Waterfall V-model Spiral Agile Test driven development (TDD)
T/F Testing is an economic activity
T
Measuring the goodness of a test set T, a collection of test inputs, based on one or more test adequacy criteria
Test assessment
Measuring test adequacy and improving a test set against a sequence of well defined, increasingly strong, coverage domains leads to improved reliability of the system under test
Coverage Principle