The latest version of http-test is 0.2.5-0.
http-test
Version 0.2.0.3 revision 0 uploaded by glutamate.
Package meta
- Synopsis
- Test framework for HTTP APIs
- Description
A simple framework for making assertions about the responses of HTTP servers.
import Test.HTTP import Data.List (isInfixOf) main = defaultMain $ httpTestCase "BayesHive landing page" "https://bayeshive.com" $ do landing <- get "/" assert "Correct blog link" $ "href=\"https://bayeshive.com/blog\"" `isInfixOf` landing loginResult <- postForm "/auth/page/email/login" [("email", "foo"), ("password", "bar")] debug loginResult
- Author
- OpenBrain Ltd
- Bug reports
- https://github.com/openbrainsrc/http-test/issues
- Category
- Test, Web
- Copyright
- n/a
- Homepage
- https://github.com/openbrainsrc/http-test
- Maintainer
- tomn@openbrain.org
- Package URL
- n/a
- Stability
- n/a