软件测试的第五个层次 - 测试脚本自动生成

来源:互联网 发布:淘宝回收手机靠谱么 编辑:程序博客网 时间:2024/05/21 10:59

Billhttp://www.intellipro.co.uk)认为软件测试有5个层次,而他现在正在第五个层次上努力。

 

1. Manual
2. Automated Manual
3. Automated
4. Frameworks
5. Automated Frameworks

 

Manual is where you perform thetesting entirely manually.
Don't underestimate this, some parts of your system will always be bettertested manually.

 

Automated Manual is where youautomate what was previously done manually.
This is characterised as the 'Record/Playback' style of automated testing.
It is NON-SCALABLE and is the dead end where most automation projects end upfailing.

 

Automated is when you take the processseriously and apply software development techniques.
A major aspect of this is refactoring the code base so that duplicate code iseliminated. When an object in the AUT changes 'beyond recognition', you shouldonly have to change one line of code in the entire code base.

 

Frameworks are where you open up yourautomation process to being driven by non-experts.
This is the only route to a scalable process with a good ROI.

 

Automated Frameworks are when yourealise that you can writescripts to AUTOMATICALLY GENERATE other scripts.
You can automaticallydetect when an object in the AUT has changed and adapt the code

如果能达到AutomatedFrameworks的境界,我们的自动化测试生活将轻松很多!!!

 

 

原创粉丝点击