Engine Class
TestService
Summary
Properties
Methods
Checkpoint(text: string,source: Instance,line: number):() |
Done():() |
isFeatureEnabled(name: string):boolean |
RegisterTest(testOptions: Dictionary):TestCase |
Run():() |
RunAsync():() |
TakeSnapshot(snapshotname: string,source: Instance):() |
Events
ServerCollectConditionalResult(condition: boolean,text: string,script: Instance,line: number):RBXScriptSignal |
ServerCollectResult(text: string,script: Instance,line: number):RBXScriptSignal |
API Reference
Properties
Is30FpsThrottleEnabled
Methods
Check
Returns
()
Code Samples
TestService:Check
local TestService = game:GetService("TestService")
TestService:Check(false, "example")Checkpoint
Done
TestService:Done():()
Returns
()
Code Samples
TestService:Done
local TestService = game:GetService("TestService")
TestService:Done()Error
Fail
isFeatureEnabled
Message
RegisterTest
Parameters
Returns
TestCase
Require
Returns
()
Code Samples
TestService:Require
local TestService = game:GetService("TestService")
TestService:Require(false, "example")Run
RunAsync
TestService:RunAsync():()
Returns
()
TakeSnapshot
Warn
Returns
()
Code Samples
TestService:Warn
local TestService = game:GetService("TestService")
TestService:Warn(false, "this action is invalid")Events
ServerCollectConditionalResult