Bill ( http://www.intellipro.co.uk )认为软件测试有 5 个层次,而他现在正在第五个层次上努力。
1. Manual
2. Automated Manual
3. Automated
4. Frameworks
5. Automated Frameworks
Manual
is where you perform the
testing entirely manually.
Don't underestimate this, some parts of your system will always be better
tested manually.
Automated Manual
is where you
automate 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 up
failing.
Automated
is when you take the process
seriously and apply software development techniques.
A major aspect of this is refactoring the code base so that duplicate code is
eliminated. When an object in the AUT changes 'beyond recognition', you should
only have to change one line of code in the entire code base.
Frameworks
are where you open up your
automation process to being driven by non-experts.
This is the only route to a scalable process with a good ROI.
Automated Frameworks
are when you
realise that you can write
scripts to AUTOMATICALLY GENERATE other scripts.
You can automatically
detect when an object in the AUT has changed and adapt the code
如果能达到 Automated Frameworks 的境界,我们的自动化测试生活将轻松很多!!!