# FunctionalTest

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Deprecated
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/FunctionalTest/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/FunctionalTest

**Deprecated:** FunctionalTest has been deprecated, developers are advised to use [`TestService`](https://rapi.sleaze.dev/classes/TestService.md) instead.

Deprecated container for automated test scripts; use [`TestService`](https://rapi.sleaze.dev/classes/TestService.md) instead.

## Properties

### Description

```luau
FunctionalTest.Description: string = "?"
```

The description of the FunctionalTest.

### AllowSleep

```luau
FunctionalTest.AllowSleep: boolean = true
```

- Tags: Hidden, Not replicated, Not scriptable, Load only

### Is30FpsThrottleEnabled

```luau
FunctionalTest.Is30FpsThrottleEnabled: boolean = true
```

- Tags: Hidden, Not replicated, Not scriptable, Load only

### PhysicsEnvironmentalThrottle

```luau
FunctionalTest.PhysicsEnvironmentalThrottle: boolean = true
```

- Tags: Hidden, Not replicated, Not scriptable, Load only

### HasMigratedSettingsToTestService

```luau
FunctionalTest.HasMigratedSettingsToTestService: boolean = false
```

- Tags: Hidden, Not scriptable

### Timeout

```luau
FunctionalTest.Timeout: number = 60
```

- Tags: Hidden, Not replicated, Not scriptable, Load only

## Methods

### Error

```luau
FunctionalTest:Error(message: string? = "")
```

Prints a red failure message to the output and signals test completion.

### Failed

```luau
FunctionalTest:Failed(message: string? = "")
```

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

### Pass

```luau
FunctionalTest:Pass(message: string? = "")
```

Records a successful test result and signals test completion.

### Passed

```luau
FunctionalTest:Passed(message: string? = "")
```

Records a successful test result and signals test completion.

### Warn

```luau
FunctionalTest:Warn(message: string? = "")
```

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

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
