FunctionalTest

Show Deprecated
Deprecated

Summary

Properties

Methods

Properties

Description

Read Parallel

The description of the FunctionalTest.

Methods

Error

()

Parameters

message: string
Default Value: ""

Returns

()

Failed

()

Prints a red message to the output, prefixed by "TestService: ".

Parameters

message: string
Default Value: ""

Returns

()

Pass

()

Parameters

message: string
Default Value: ""

Returns

()

Passed

()

Parameters

message: string
Default Value: ""

Returns

()

Warn

()

Prints if a condition is true, otherwise prints a warning.

Parameters

message: string
Default Value: ""

Returns

()

Code Samples

This code would print Warning: this action is invalid to the output, in yellow text.

FunctionalTest:Warn1

local TestService = game:GetService("TestService")
TestService:Warn(false, "this action is invalid")

Events