ช่วยเขียนเทสต์ให้ฉัน
A ready-to-use “การเขียนโปรแกรม” AI prompt template. Replace the (bracketed) parts below with your own needs.
Prompt template
ช่วยเขียน unit test สำหรับฟังก์ชันด้านล่าง ครอบคลุมทั้งกรณีปกติและกรณีขอบ (edge case) พร้อมอธิบายว่าแต่ละเทสต์ตรวจสอบอะไร: (วางฟังก์ชันที่นี่)
How to use this prompt
- Copy the whole prompt above and paste it into ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.