# GrainFaultTransactionTestRunner Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.grainfaulttransactiontestrunner/)

## GrainFaultTransactionTestRunner(IGrainFactory, Action&lt;string&gt;) {#constructor-orleans-igrainfactory-system-action-string-c5144a26}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.grainfaulttransactiontestrunner/constructors/constructor-orleans-igrainfactory-system-action-string-c5144a26/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/TestRunners/GrainFaultTransactionTestRunner.cs#L12-L13)

```csharp
public GrainFaultTransactionTestRunner(IGrainFactory grainFactory, Action<string> output)
```

### Parameters

- `grainFactory` (`IGrainFactory`)
- `output` (`Action<string>`)
