测试案例设计:确保案例独立性

上一篇 / 下一篇  2007-05-04 21:46:53 / 个人分类:测试技术

When design test cases, try not have cases which have internal dependancies to eachother. The more independant, the better.

This is because if cases are depending to each other:

  1. Propagate failures may be a lot  if  test cases  previously executed fails,  it is difficult(or even impossible)  to isolate key failures from propagated failures.
  2. Propagate failures may override/hide other key failures, and reduce the effectiveness of a test case.
  3. some propagate failure may be taken as a key failure in some cases, -- fault failures are collected.

TAG: 测试技术

 

评分:0

我来说两句

Open Toolbar