# LibTmux.Testing.TmuxTestOptions.TmuxTestOptions

- **Module:** LibTmux.Testing.TmuxTestOptions
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Testing/TmuxTestOptions.cs#L16
- **Page:** https://libtmux.org/en/dotnet/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.
