Cabal revisions of http-test-0.2.3
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-Name: http-test-Version: 0.2.3-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--License: BSD3-Author: OpenBrain Ltd-Maintainer: tomn@openbrain.org-build-type: Simple-Cabal-Version: >= 1.8-homepage: https://github.com/openbrainsrc/http-test-bug-reports: https://github.com/openbrainsrc/http-test/issues-Category: Test, Web-license-file: LICENSE--Source-Repository head- Type: git- Location: https://github.com/openbrainsrc/http-test---Library- Exposed-modules: Test.HTTP- hs-source-dirs: src- Build-depends: base >= 4 && < 5- , mtl - , aeson- , wreq- , tasty- , tasty-hunit- , text- , bytestring- , lens- , http-client- , time--executable test-http-test-bayeshive- main-is: test.hs- Build-depends: base >= 4 && < 5- , http-test+Name: http-test +Version: 0.2.3 +x-revision: 1 +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 + +License: BSD3 +Author: OpenBrain Ltd +Maintainer: tomn@openbrain.org +build-type: Simple +Cabal-Version: >= 1.8 +homepage: https://github.com/openbrainsrc/http-test +bug-reports: https://github.com/openbrainsrc/http-test/issues +Category: Test, Web +license-file: LICENSE + +Source-Repository head + Type: git + Location: https://github.com/openbrainsrc/http-test + + +Library + Exposed-modules: Test.HTTP + hs-source-dirs: src + Build-depends: base >= 4 && < 5 + , mtl + , aeson >= 0.7.0.4 + , wreq + , tasty + , tasty-hunit + , text + , bytestring + , lens + , http-client + , time + +executable test-http-test-bayeshive + main-is: test.hs + Build-depends: base >= 4 && < 5 + , http-test
revision 2
Name: http-test Version: 0.2.3 -x-revision: 1 +x-revision: 2 synopsis: Test framework for HTTP APIs Description: A simple framework for making assertions about the responses of HTTP servers. hs-source-dirs: src Build-depends: base >= 4 && < 5 , mtl - , aeson >= 0.7.0.4 + , aeson , wreq , tasty , tasty-hunit