| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Hspec.Server.Type
Documentation
type ServerName = String Source
class ServerType a where Source
Methods
stOS :: a -> Maybe ServerOS Source
stName :: a -> ServerName Source
stCmd :: a -> FilePath -> [String] -> String -> IO (ExitCode, String, String) Source
Instances
type ServerExample dat = ReaderT dat IO Source
with :: ServerType dat => dat -> SpecWith dat -> Spec Source
data ServerStatus Source
data CommandStatus Source
getStdout :: CommandStatus -> Maybe String Source
getStderr :: CommandStatus -> Maybe String Source
detectLinux :: ServerType dat => dat -> IO (Maybe ServerOS) Source