Test Service
*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่
ข้อมูลสรุป
วิธีการ
RegisterSuite(suiteName: string,options: Dictionary):TestSuite |
RegisterTest(testName: string,callback: function,options: Dictionary):TestCase |
ResetTestRegistry():() |
RunTestsAsync(filter: Dictionary):TestRunResult |
เหตุการณ์
เอกสารอ้างอิงเกี่ยวกับ API
คุณสมบัติ
วิธีการ
Register Suite
พารามิเตอร์
| ค่าเริ่มต้น: nil |
ส่งค่ากลับ
Register Test
พารามิเตอร์
| ค่าเริ่มต้น: nil |
ส่งค่ากลับ
Reset Test Registry
Test Service: Reset Test Registry():()
ส่งค่ากลับ
()
Run Tests Async
พารามิเตอร์
| ค่าเริ่มต้น: nil |
ส่งค่ากลับ
เหตุการณ์