# TestClusterExtensions.GetTestClusterOptions(IConfiguration)

[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#L59-L61)

```csharp
public static TestClusterOptions GetTestClusterOptions(this IConfiguration config)
```

Gets the test cluster options.

### Parameters

- `config` (`IConfiguration`): The configuration.

### Returns

The test cluster options.
