Skip to content
GitHub

AI-Assisted Testing (AI ဖြင့် Test ရေးခြင်း)

Function တစ်ခု ရေးပြီးရင် AI ကို Test ရေးခိုင်းလိုက်ပါ။

  • Prompt: “Write Jest unit tests for this calculateTax function. Include edge cases like negative numbers and zero.”

Playwright သို့မဟုတ် Cypress နဲ့ ရေးမယ့် Test Scenario တွေကို AI ကို ရေးခိုင်းပါ။

  • Prompt: “Write a Playwright test script that goes to the login page, enters valid credentials, and checks if the dashboard is visible.”

Test တွေ ကျနေရင် (Fail)၊ Error Message ကို AI ပြပြီး ဘာမှားနေလဲ မေးလို့ ရပါတယ်။

  • Prompt: “This test is failing with ‘Element not found’. Here is the HTML and the test code. How do I fix it?”