Roblox UtilitiesDevlHub Roblox Documentation

Class

FunctionalTest

Deprecated
Inherits
Instance › Object
Memory category
Instances

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#

DescriptionstringThe 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#

ErrorPrints a red failure message to the output and signals test completion.Deprecated
FailedPrints a red message to the output, prefixed by "TestService: ".Deprecated
PassRecords a successful test result and signals test completion.Deprecated
PassedRecords a successful test result and signals test completion.Deprecated
WarnPrints 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().

NameTypeDefaultDescription
messagestring
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: ".

NameTypeDefaultDescription
messagestring
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().

NameTypeDefaultDescription
messagestring
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().

NameTypeDefaultDescription
messagestring
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.

NameTypeDefaultDescription
messagestring
Returns
  • ()

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed