# TestCluster.GrainFactory

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testcluster/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testcluster/properties/)

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

```csharp
public IGrainFactory GrainFactory
```

GrainFactory to use in the tests
