TestService
服务

*此内容使用人工智能(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 是我们在美国及其他国家或地区的注册与未注册商标。