sydtest-servant-0.1.0.0: A servant companion library for sydtest
Safe HaskellNone
LanguageHaskell2010

Test.Syd.Servant

Synopsis

Documentation

servantSpec :: forall api. HasServer api '[] => Proxy api -> ServerT api Handler -> ServantSpec -> Spec Source #

Run a given servant server around every test

servantSpecWithSetupFunc :: forall api. HasServer api '[] => Proxy api -> SetupFunc (ServerT api Handler) -> ServantSpec -> Spec Source #

Run a servant server around every test, based around the given SetupFunc

clientEnvSetupFunc :: forall api. HasServer api '[] => Proxy api -> Manager -> ServerT api Handler -> SetupFunc ClientEnv Source #