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 是我們在美國及其他國家地區的部分註冊與未註冊商標。