Class
FunctionalTest
Deprecated
Deprecated container for automated test scripts; use TestService
instead.
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
A deprecated container for automated test scripts that delegates its
test-result methods to TestService and then signals test completion.
New scripts should use TestService directly.
Properties 1#
Descriptionstring | The description of the FunctionalTest.ReadSafeDeprecated |
Description: string#
ReadSafeDeprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
The description of the FunctionalTest.
Methods 5#
| Error | Prints a red failure message to the output and signals test completion.Deprecated |
| Failed | Prints a red message to the output, prefixed by "TestService: ".Deprecated |
| Pass | Records a successful test result and signals test completion.Deprecated |
| Passed | Records a successful test result and signals test completion.Deprecated |
| Warn | Prints if a condition is true, otherwise prints a warning.Deprecated |
Error(message: string): ()#
Deprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
Prints a red message to the output, prefixed by "TestService: ", then
signals test completion. Same behavior as FunctionalTest:Failed().
| Name | Type | Default | Description |
|---|---|---|---|
message | string |
Returns
()
Failed(message: string): ()#
Deprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
Prints a red message to the output, prefixed by "TestService: ".
| Name | Type | Default | Description |
|---|---|---|---|
message | string |
Returns
()
Pass(message: string): ()#
Deprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
Records a successful test result and signals test completion. Same
behavior as FunctionalTest:Passed().
| Name | Type | Default | Description |
|---|---|---|---|
message | string |
Returns
()
Passed(message: string): ()#
Deprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
Records a successful test result and signals test completion. Same
behavior as FunctionalTest:Pass().
| Name | Type | Default | Description |
|---|---|---|---|
message | string |
Returns
()
Warn(message: string): ()#
Deprecated
Deprecated. FunctionalTest has been deprecated, developers are advised to use
TestService instead.
Prints if a condition is true, otherwise prints a warning.
| Name | Type | Default | Description |
|---|---|---|---|
message | string |
Returns
()
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild