TestService
บริการ

*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่


ข้อมูลสรุป

คุณสมบัติ
เหตุการณ์
สมาชิกที่ได้รับทอด

เอกสารอ้างอิงเกี่ยวกับ API
คุณสมบัติ
Enabled
อ่านอย่างเดียว
ไม่ซ้ำ
TestService.Enabled:boolean

วิธีการ
ListTests
TestService:ListTests():{any}
ส่งค่ากลับ

RegisterSuite
TestService:RegisterSuite(
suiteName:string, options:Dictionary
พารามิเตอร์
suiteName:string
options:Dictionary
ค่าเริ่มต้น: nil
ส่งค่ากลับ

RegisterTest
TestService:RegisterTest(
testName:string, callback:function, options:Dictionary
พารามิเตอร์
testName:string
callback:function
options:Dictionary
ค่าเริ่มต้น: nil
ส่งค่ากลับ

ResetTestRegistry
TestService:ResetTestRegistry():()
ส่งค่ากลับ
()

RunTestsAsync
ผลตอบแทน
TestService:RunTestsAsync(filter:Dictionary):TestRunResult
พารามิเตอร์
filter:Dictionary
ค่าเริ่มต้น: nil
ส่งค่ากลับ

เหตุการณ์
TestRegistryChanged
TestService.TestRegistryChanged():RBXScriptSignal

©2026 Roblox Corporation. Roblox, โลโก้ Roblox และ Powering Imagination เป็นส่วนหนึ่งของเครื่องหมายการค้าที่จดทะเบียน และไม่ได้จดทะเบียนของเราในสหรัฐฯ และประเทศอื่นๆ