自動化測試養成計畫:從手動 QA 轉型自動化的 120 天路線圖
為有手動測試經驗的 QA 設計的自動化轉型計畫,從程式基礎到建立完整的自動化測試框架,120 天成為 SDET。
本計畫假設學習者已有手動測試經驗,建議至少 6 個月手動測試基礎後再開始。
轉型自動化的正確心態
第 1-3 週:Python 基礎
-
›
練習一
寫一個計算機程式
-
›
練習二
寫一個讀取 CSV 測試資料的腳本
-
›
練習三
用 Python 呼叫 API 並驗證結果
第 4-6 週:pytest 與單元測試
-
›
練習一
為一個簡單的 Python 模組寫 20 個單元測試
-
›
練習二
用 parametrize 減少重複的測試程式碼
-
›
練習三
產出 HTML 測試報告
第 7-9 週:API 自動化測試
-
›
練習一
建立一個完整的 API 測試專案
-
›
練習二
實作至少 30 個 API 測試案例
-
›
練習三
整合 CI/CD(GitHub Actions)
第 10-13 週:Web UI 自動化(Playwright)
-
›
練習一
自動化一個登入流程
-
›
練習二
用 POM 架構整理測試程式碼
-
›
練習三
處理常見的 Flaky Test 問題
第 14-15 週:CI/CD 整合
-
›
練習一
建立一個完整的 CI pipeline,包含 API + UI 測試
-
›
練習二
設定每日定時執行和 PR 觸發
第 16-17 週:進階主題與實戰
API 測試入門:用 Postman 和 pytest 打造你的第一個 API 測試
API 測試是現代 QA 必備技能。從 HTTP 基礎概念到實際用 Postman 和 pytest 寫測試,帶你踏出 API 測試的第一步。
The transformation of QA’s role in agile teams: from gatekeeper to quality coach
QA Practical Guide to Agile Transformation - the role change from gatekeeper to quality coach, covering QA responsibilities in the Scrum ceremony, collaboration model with development, and Definition of Done formulation methods
How to choose a test automation framework: Selenium vs Cypress vs Playwright complete comparison
Test Automation Framework Selection Guide - An in-depth comparison of the advantages, disadvantages and applicable scenarios of Selenium, Cypress, and Playwright to help you choose the most suitable framework from the perspective of team technology stack and maintenance costs.
General Disclaimer
The information provided on this site is for reference only. We do not guarantee its completeness or accuracy. Users should determine the applicability of the information on their own.