Reference API Roblox

Engine API

Website

Related

Reference API Roblox

TestCase

This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Tags: [NotCreatable, NotReplicated]

Member index 12

HistoryMember
742SuiteName: string
742TestId: string
742TestName: string
742TimeoutSec: double
712Assert(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null
731AssertLegacy(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null
743Check(actualValue: Variant, expectedValue: Variant, message: string = ): null
712EndTest(message: string = , source: Instance = Instance, line: int = 0): null
742GetTestTags(): Array
712Message(text: string, source: Instance = Instance, line: int = 0): null
743Require(actualValue: Variant, expectedValue: Variant, message: string = ): null
731RequireLegacy(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null
inherited from Object
647ClassName: string
647className: string
647GetPropertyChangedSignal(property: string): RBXScriptSignal
647IsA(className: string): bool
650isA(className: string): bool
647Changed(property: string)

Description

History 17

Members 12

Assert

Parameters (4)Default
conditionbool
messagestring
sourceInstanceInstance
lineint0
Returns (1)
null

History 1

AssertLegacy

Parameters (4)Default
conditionbool
messagestring
sourceInstanceInstance
lineint0
Returns (1)
null

History 1

Check

Parameters (3)Default
actualValueVariant
expectedValueVariant
messagestring
Returns (1)
null
This function has a custom internal state. It may behave in a non-standard way.

History 1

Tags: [CustomLuaState]

EndTest

Parameters (3)Default
messagestring
sourceInstanceInstance
lineint0
Returns (1)
null

History 1

GetTestTags

Parameters (0)
No parameters.
Returns (1)
Array

History 1

Message

Parameters (3)Default
textstring
sourceInstanceInstance
lineint0
Returns (1)
null

History 1

Require

Parameters (3)Default
actualValueVariant
expectedValueVariant
messagestring
Returns (1)
null
This function has a custom internal state. It may behave in a non-standard way.

History 3

Tags: [CustomLuaState]

RequireLegacy

Parameters (4)Default
conditionbool
messagestring
sourceInstanceInstance
lineint0
Returns (1)
null

History 1

SuiteName

TypeDefault
string
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 1

Tags: [ReadOnly, NotReplicated]

TestId

TypeDefault
string
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 1

Tags: [ReadOnly, NotReplicated]

TestName

TypeDefault
string
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 1

Tags: [ReadOnly, NotReplicated]

TimeoutSec

TypeDefault
double
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 1

Tags: [ReadOnly, NotReplicated]

Settings