自動化測試養成計畫:從手動 QA 轉型自動化的 120 天路線圖
為有手動測試經驗的 QA 設計的自動化轉型計畫,從程式基礎到建立完整的自動化測試框架,120 天成為 SDET。
Last Updated:2026-03-07
本計畫假設學習者已有手動測試經驗,建議至少 6 個月手動測試基礎後再開始。
Table of Contents
1. 轉型自動化的正確心態
2. 第 1-3 週:Python 基礎
-
練習一
寫一個計算機程式
-
練習二
寫一個讀取 CSV 測試資料的腳本
-
練習三
用 Python 呼叫 API 並驗證結果
3. 第 4-6 週:pytest 與單元測試
-
練習一
為一個簡單的 Python 模組寫 20 個單元測試
-
練習二
用 parametrize 減少重複的測試程式碼
-
練習三
產出 HTML 測試報告
4. 第 7-9 週:API 自動化測試
-
練習一
建立一個完整的 API 測試專案
-
練習二
實作至少 30 個 API 測試案例
-
練習三
整合 CI/CD(GitHub Actions)
5. 第 10-13 週:Web UI 自動化(Playwright)
-
練習一
自動化一個登入流程
-
練習二
用 POM 架構整理測試程式碼
-
練習三
處理常見的 Flaky Test 問題
6. 第 14-15 週:CI/CD 整合
-
練習一
建立一個完整的 CI pipeline,包含 API + UI 測試
-
練習二
設定每日定時執行和 PR 觸發
7. 第 16-17 週:進階主題與實戰
Related Quick Guides
2026 QA 趨勢:AI 測試、Shift-Left 與職涯新方向
探索 QA 領域的最新趨勢,包含 AI 輔助測試、Shift-Left 策略、以及 QA 工程師的職涯轉型方向。
API 測試入門:用 Postman 和 pytest 打造你的第一個 API 測試
API 測試是現代 QA 必備技能。從 HTTP 基礎概念到實際用 Postman 和 pytest 寫測試,帶你踏出 API 測試的第一步。
Beginner’s Guide to Performance Testing: A Complete Tutorial from Load Testing to Stress Testing
A Complete Guide to Getting Started with Performance Testing - Covers load testing, stress testing, and soak testing, introduces the practical usage of the three major tools JMeter, k6, and Locust, and learns to identify system bottlenecks from scratch to ensure online stability.
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.