Software Testing

(3) Random Testing

Adaptive Random Testing

  • Can random testing be improved?
Idea
  • Failure-causing inputs occur as point, strip or block pattern

  • Evenly spread out test cases in input domain to find strip and block patterns

Process

  1. Generate set of candidate test cases by randomly selecting from input domain
  2. Choose test case from set of candidates that is farthest away from already executed ones
  3. Execute that test case and repeat if no failure was found
 
  • Outperforms normal random testing significantly
  • But: needs more effort/resources

Diskussion