Properties
bool
|
If set to true, the game will start running when the TestService’s |
string
|
A description of the test being executed. |
int
[ReadOnly]
[NotReplicated]
|
Measures how many errors have been recorded in the test session. |
bool
|
When set to true, the TestService will be executed when using the Run action in Roblox Studio. |
bool
|
Sets whether or not the physics engine should be throttled to 30 FPS while the test is being ran. |
bool
|
Sets whether or not the physics environment should be throttled while running this test. |
bool
|
Sets whether or not physics objects will be allowed to fall asleep while the test simulation is running. |
int
|
The number of players expected in this test, if any. |
double
|
Sets a specific amount of additional latency experienced by players during the test session. |
int
[ReadOnly]
[NotReplicated]
|
Measures how many test calls have been recorded in the test session. |
double
|
The maximum amount of time that tests are allowed to run for. |
int
[ReadOnly]
[NotReplicated]
|
Measures how many warning calls have been recorded in the test session. |
bool
|
Determines if an |
string
[ReadOnly]
[NotReplicated]
|
A read-only string representing the class this |
int
[Hidden]
[ReadOnly]
[NotReplicated]
[Deprecated]
|
The cost of saving the instance using data persistence. |
string
|
A non-unique identifier of the |
Instance
[NotReplicated]
|
Determines the hierarchical parent of the |
bool
[Hidden]
|
A deprecated property that used to protect |
int64
[Hidden]
[NotReplicated]
|
bool
[Hidden]
[NotReplicated]
[Deprecated]
|
string
[ReadOnly]
[NotReplicated]
[Deprecated]
|
Functions
void
|
Prints result of condition to output. |
void
|
Prints "Test checkpoint: ", followed by text, to the output, in blue text. |
void
|
Prints Testing Done to the output, in blue text. |
void
|
Prints a red message to the output. |
void
|
Indicates a fatal error in a TestService run. If this is called inside of a script running inside of the TestService, this will initiate a breakpoint on the line that invoked the error. |
void
|
Prints Test message, followed by text to the output, in blue text. |
void
|
Prints whether a condition is true along with description text. |
void
[Yields]
|
Runs scripts which are parented to TestService. |
Dictionary
|
void
|
Prints if a condition is true, otherwise prints a warning. |
bool
|
void
|
This function destroys all of an |
Instance
|
Create a copy of an object and all its descendants, ignoring objects that are not |
void
|
Sets the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first descendant found with the given |
Actor
|
Returns the Actor associated with the Instance, usually the first Actor ancestor |
Variant
|
Returns the attribute which has been assigned to the given name |
RBXScriptSignal
|
Returns an event that fires when the given attribute changes |
Dictionary
|
Returns a dictionary of string → variant pairs for each of the |
Objects
|
Returns an array containing all of the |
string
[NotBrowsable]
|
Returns a coded string of the |
Array
[CustomLuaState]
|
Returns an array containing all of the descendants of the instance |
string
|
Returns a string describing the |
RBXScriptSignal
|
Get an event that fires when a given property of an object changes. |
bool
[CustomLuaState]
|
Returns true if an |
bool
|
Returns true if an |
bool
|
Returns true if an |
void
[Deprecated]
|
Sets the object’s Parent to nil, and does the same for all its descendants. |
void
|
Sets the attribute with the given name to the given value |
Instance
[CustomLuaState]
[CanYield]
|
Returns the child of the |
Objects
[Deprecated]
|
Returns an array of the object’s children. |
Instance
[Deprecated]
|
void
[Deprecated]
|
Instance
[Deprecated]
|
Objects
[Deprecated]
|
bool
[Deprecated]
[CustomLuaState]
|
bool
[Deprecated]
|
void
[Deprecated]
|
Events
RBXScriptSignal
|
Fired when the server should collect a conditional test result. |
RBXScriptSignal
|
Fired when the server should collect a test result. |
RBXScriptSignal
|
Fires when the |
RBXScriptSignal
|
Fires whenever an attribute is changed on the |
RBXScriptSignal
|
Fired immediately after a property of an object changes. |
RBXScriptSignal
|
Fires after an object is parented to this |
RBXScriptSignal
|
Fires after a child is removed from this |
RBXScriptSignal
|
Fires after a descendant is added to the |
RBXScriptSignal
|
Fires immediately before a descendant of the |
RBXScriptSignal
|
Fires immediately before the instance is destroyed via |
RBXScriptSignal
[Deprecated]
|