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.
| Memory category | Instances |
|---|
Member index 11
| History | Member | |
|---|---|---|
| 742 | SuiteName: string | |
| 742 | TestId: string | |
| 742 | TestName: string | |
| 742 | TimeoutSec: double | |
| 712 | Assert(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null | |
| 731 | AssertLegacy(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null | |
| 712 | EndTest(message: string = , source: Instance = Instance, line: int = 0): null | |
| 742 | GetTestTags(): Array | |
| 712 | Message(text: string, source: Instance = Instance, line: int = 0): null | |
| 712 | Require(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null | |
| 731 | RequireLegacy(condition: bool, message: string = , source: Instance = Instance, line: int = 0): null | |
| inherited from Object | ||
| 731 | ClassName: string | |
| 731 | className: string | |
| 647 | GetPropertyChangedSignal(property: string): RBXScriptSignal | |
| 647 | IsA(className: string): bool | |
| 731 | isA(className: string): bool | |
| 647 | Changed(property: string) | |
Description
History 14
- 742 Add GetTestTags
- 742 Add TimeoutSec
- 742 Add TestName
- 742 Add TestId
- 742 Add SuiteName
- 742 Change Superclass of TestCase from Instance to Object
- 742 Change Tags of TestCase from [NotCreatable] to [NotCreatable, NotReplicated]
- 731 Add RequireLegacy
- 731 Add AssertLegacy
- 712 Add Require
- 712 Add Message
- 712 Add EndTest
- 712 Add Assert
- 712 Add TestCase
Members 11
Assert
| Parameters (4) | Default | |
|---|---|---|
| condition | bool | |
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
AssertLegacy
| Parameters (4) | Default | |
|---|---|---|
| condition | bool | |
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
History 1
- 731 Add AssertLegacy
EndTest
| Parameters (3) | Default | |
|---|---|---|
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
GetTestTags
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Array | ||
| Thread safety | Unsafe |
|---|
History 1
- 742 Add GetTestTags
Message
| Parameters (3) | Default | |
|---|---|---|
| text | string | |
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
Require
| Parameters (4) | Default | |
|---|---|---|
| condition | bool | |
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
RequireLegacy
| Parameters (4) | Default | |
|---|---|---|
| condition | bool | |
| source | Instance | Instance |
| line | int | 0 |
| Returns (1) | ||
| null | ||
| Thread safety | Unsafe |
|---|
History 1
- 731 Add RequireLegacy
SuiteName
| Type | Default | |
|---|---|---|
| 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | false/true |
TestId
| Type | Default | |
|---|---|---|
| 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | false/true |
TestName
| Type | Default | |
|---|---|---|
| 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | false/true |
TimeoutSec
| Type | Default | |
|---|---|---|
| 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.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | false/true |
History 1
- 742 Add TimeoutSec