# LibTmux.Testing.TmuxTestOptions.TmuxTestOptions

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