class libtmux-dotnet latest
TemporaryServerScope
Creates a throwaway server for a test and stops it afterwards.
Source and package
- Module
- LibTmux.Testing
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TemporaryServerScope.cs
-
Description#
Each scope gets its own socket, so tests never contend for one server and a crashed test cannot leak state into the next.
Members2 members#
Other members2 members#
- DisposeAsync method
- Server property Gets the temporary server.