When to Use
Use this guide when you need to:
- Write tests following best practices
- Refactor existing test suites
- Set up testing infrastructure
- Implement comprehensive test strategies
Quick Start
- ติดตั้ง test framework (เช่น Vitest, Playwright)
- ตั้งค่า configuration สำหรับ project
- เขียน tests ตาม AAA pattern (Arrange, Act, Assert)
- รัน tests และตรวจสอบ coverage
- รวม tests ใน CI/CD pipeline
ตารางสรุปแต่ละ file ตาม folder
| ประเภทไฟล์ | คำอธิบาย | กฎที่ต้องปฏิบัติ | ตำแหน่ง |
|---|
| SKILL.md | เอกสารหลักของ skill | มี When to Execute, Quick Start, ตารางสรุป | testing/ |
| rules/*.md | กฎการทดสอบ |