# LibTmux.Testing.TmuxTestOptions.TmuxTestOptions

- **Module:** LibTmux.Testing
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Testing/TmuxTestOptions.cs#L16
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-testing-tmuxtestoptions-tmuxtestoptions/

```
LibTmux.Testing.TmuxTestOptions.TmuxTestOptions(connectionOptions: ServerConnectionOptions?, timeout: TimeSpan?, pollInterval: TimeSpan?, sessionNamePrefix: string)
```

Initializes test options.

## Parameters

- `connectionOptions` (`ServerConnectionOptions?`): How to reach tmux, or null for a socket of its own.
- `timeout` (`TimeSpan?`): How long a wait keeps asking.
- `pollInterval` (`TimeSpan?`): How long a wait pauses between askings.
- `sessionNamePrefix` (`string`): What generated names start with.
