Tuesday, August 9, 2016

[Test] Test Cases

关于TC的问题:

1. 分类 (classification)
   unit test -> functional test -> integration test -> scenario test
越往右边TC的数目应该越少一些

2. 设计TC,还是要分类
   1) positive TC - happy path
   2) negative TC - 0, NULL, exception, overflow/underflow,
   3) corner TC

3. 其他TC(基本就是靠嘴巴说)
   1) Performance
   2) Scalability
   3) Load
   4) Stress
   5) Code coverage
   6) Localization
   7) Internationalization
   8) Security

No comments:

Post a Comment