---Unknown《'Life Cycle' of a Test Automation Project》
---Kiki翻譯于2005/9/20
象其他‘軟件開發項目’一樣對待‘測試自動化項目’。
1. 測試自動化工具的選擇Test Automation tool selection
Ø 工具的獲取**
Kiki新增:根據測試自動化的性質(類型,例如是功能測試還是性能測試,抑或白盒或黑盒測試),尋求幾個測試工具進行評估。由于目前市場的工具較多,建議先設置一些大的評估項以過濾市面上大量的工具。
Ø 工具的評估Evaluation of tools
Ø 選擇Selection
Ø 定制Customization
Ø 培訓 Training
2. 設計 Design
Ø 可行性研究 Feasibility study
Kiki備注:個人認為在一般情況下,最好是在選擇工具時進行可行性研究。特別是對于開發的產品相當單一,基于同一架構上的產品的公司,此項任務最好是在選擇時作為一個評估項處理。
Ø 測試自動化包的內容 Content of test automation suite
Ø 測試包的架構 Test suite architecture
3. 開發 Development
Ø 識別‘可重用’的函數并且針對可重用性實現它們 Identification of ‘re-usable’ functions and realizing them which is aimed at re-usability
Ø 腳本審核 Reviewing of scripts
Ø 測試數據策略 Test data strategy
Ø 配置管理**
Kiki新增:做好版本控制及變更控制。
4. 執行 Execution
Ø 專門用于測試自動化運行的機器 Dedicated machines for test automation runs
Ø 執行的頻率 Frequency of execution
Ø 分析測試自動化結果并編寫報告 Analysis of test automation results and reporting
5. 鞏固 Consolidation
Ø 利用一些打包程序(例如Installshield)將測試自動化交付件(測試自動化腳本,測試數據,用戶指南)打包Packaging test automation deliverables (Test Automation Scripts, Test Data, User Guide) using installer
Ø 為了以后的使用將測試自動化包存檔 Archiving test automation suite for future use
Ø 維護 Maintenance
在測試包執行期間,可能會發現由于更改設計而導致的缺陷,因而修改測試自動化腳本。然而鞏固測試自動化包特別是在維護期間,可能會導致修改測試自動化包的設計。
During the execution of the test suite, defects can be found which results in changing design, hence modifying test automation scripts. While consolidation the test automation suite especially during maintenance can result in modifying the design of the test automation suite