On this page
LibTmux.Testing.TemporaryServerScope
- Module
- LibTmux.Testing
- Package
- LibTmux
- Source
- src/LibTmux/Testing/TemporaryServerScope.cs
-
Creates a throwaway server for a test and stops it afterwards.
Each scope gets its own socket, so tests never contend for one server and a crashed test cannot leak state into the next.
3 declared, 0 inherited
Members
- DisposeAsync method
- StartAsync method Starts a temporary server on its own socket.
- Server property Gets the temporary server.