FunctionalTest

Show Deprecated
Deprecated

Summary

Properties

Methods

Properties

Description

Read Parallel

The description of the FunctionalTest.

Methods

Error

void

Parameters

message: string
Default Value: ""

Returns

void

Failed

void

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

Parameters

message: string
Default Value: ""

Returns

void

Pass

void

Parameters

message: string
Default Value: ""

Returns

void

Passed

void

Parameters

message: string
Default Value: ""

Returns

void

Warn

void

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

Parameters

message: string
Default Value: ""

Returns

void

Code Samples

FunctionalTest:Warn1

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

Events