Test automation — การรันเทสต์โดยอัตโนมัติ (ใน CI/CD) แทนการทำด้วยมือ — จำเป็นต่อการทดสอบที่รวดเร็ว เชื่อถือได้ และบ่อยครั้งในระดับ scale การสร้างมันอย่างมีประสิทธิภาพเกี่ยวข้องกับการเลือกว่าจะ automate อะไร การจัดโครงสร้าง automation ที่ดูแลรักษาได้ และการผสานเข้ากับกระบวนการพัฒนา
ควร automate อะไร (และไม่ควร)
AUTOMATE:
✓ REGRESSION tests (run constantly to catch breakage) — the biggest win
✓ Repetitive, stable, frequently-run tests; unit/integration tests; critical flows
DON'T necessarily automate:
✗ Exploratory testing, usability, one-off checks, highly unstable/changing features
→ manual testing still has a place (exploratory, UX, edge judgment)
→ Automate what's repetitive and valuable to run often; not everything.
