Docsity

Lecture Notes on Statistical Usage Testing | CS 6300, Study notes of Computer Science

Toggle sidebar
bg1
Statistical Usage Testing
• Black box, random testing
• Certification of reliability
• Statistical process control
• Cost-effective orientation
• Guidelines for test completion (desired reliability
reached) or redesign (too many failures found)
• Stratification mechanism for dealing with critical
situations
• Questions exist on how to feed back the results of
testing to the development team
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Lecture Notes on Statistical Usage Testing | CS 6300 and more Study notes Computer Science in PDF only on Docsity!

Statistical Usage Testing

• Black box, random testing

• Certification of reliability

• Statistical process control

• Cost-effective orientation

• Guidelines for test completion (desired reliability

reached) or redesign (too many failures found)

• Stratification mechanism for dealing with critical

situations

• Questions exist on how to feed back the results of

testing to the development team

Cost-Effective Testing

Cost-Effective Testing

Columns correspond to bug execution occurrence likelyhood in years

Cost-Effective Testing

Cell contents indicates the percentage of bugs on a project with a given MTBF

Testing Process

1. Usage distribution models

  • From competitors, earlier versions, analysis

2. Markov usage chain

  • State transition probability matrix

3. Statistics

Π (proportion of time spent in each state)

  • n (number of states visited before a given state is reached)
  • s (number of tests needed to reach a state).

4. Random test generation

  • Design required

5. Test execution and test chain generation, including failure states

6. Statistics

  • R (reliability)
  • MTBF (mean time between failures)
  • D (divergence of test chain from usage chain)

1. Initial Usage Model

2. Probabilities from Scenarios

3. Usage Model Statistics

Path Frequency Measurement

Dealing With Failures

Testing Example

• COBOL / SF parser generator

• Four increments; 120 random tests

• Last 115 executions correct

• 12 failures in first five executions

• 3.9 faults / KLOC

• No new failures in four years of use

USAGE MODEL FOR UNIX MAIL