09 Based Testing Flashcards
When to Stop Testing?
Based on:
1. Resource Based Criteria
2. Activity-Based (Quality-Based) Criteria
Resource-Based Criteria
Stop when you run out of money or time
Irresponsible => Quality/Other Problems
Activity Based Criteria
Quality Based
Stop wehn you complete planned test activities
Directi quality measure: Reliablilty (resemble actual customer usages)
Indirect quality measure: Coverage
Systematic Testing Checklists
List of items that must be systematically tested.
Each item is “checked off”
When list is complete, testing is done.
Checklists Advantages
Simplicity
Increased Coverage
Drawbacks
Coverage: Need to file “hole”
Duplication: Need to improve efficiency
Complex interactions not modeled.
Root cause: Complexity
Partition Testing
Defining specific input variables and associated values to exercise certain parts of the program in the white-box view or to perform certain functions in the black-box view.
Partition Testing Basic Idea
Coverage Across partition: Uniform
Coverage within a partition: Random
Different Types of Partitions
Pure Membership based partitions
Properties/Relations used in definitions
Combinations
Types of Activity Based Testing
Coverage Based
- Checklist
- Partitions
Usage-Based (Activity-Based)
- Operational Profiles (OPs)
Operational Profiles
Disjoint alternatives and their associated probabilities
The # of tests runs of each operation in the OP is proportional to its probability.
A quantitiative characterization of the way a softare system is or will be used.