# TestClusterExtensions.GetTestClusterOptions(IHostBuilder)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterExtensions.cs#L49)

```csharp
public static TestClusterOptions GetTestClusterOptions(this IHostBuilder hostBuilder)
```

Gets the test cluster options.

### Parameters

- `hostBuilder` (`IHostBuilder`): The host builder.

### Returns

The test cluster options.
