http-test 0.1.6 → 0.1.7
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Test.HTTP: curlGetString :: Curl -> URLString -> [CurlOption] -> IO (CurlCode, String)
+ Test.HTTP: curlPostString :: Curl -> URLString -> [CurlOption] -> [String] -> IO (CurlCode, String)
+ Test.HTTP: type Url = String
Files
- Test/HTTP.hs +2/−2
- http-test.cabal +1/−1
Test/HTTP.hs view
@@ -1,4 +1,4 @@-module Test.HTTP (httpTest, session, get, getJSON, withJSON, post, postForm, postJSON, assert, assertEq, assertParse, failTest, debug, Program, Session) where+module Test.HTTP (httpTest, session, get, getJSON, withJSON, post, postForm, postJSON, assert, assertEq, assertParse, failTest, debug, Program, Session, Url, curlGetString, curlPostString) where import Network.Curl hiding (curlGetString) @@ -157,7 +157,7 @@ assertEq assName x y | x == y = passTest assName | otherwise = failTest assName $ "not equal: "++show x ++" /= "++show y --- | make an assertion in the Parser monad, ofr use with JSON value+-- | make an assertion in the Parser monad, for use with JSON value assertParse :: String -- ^ assertion name (used for reporting failures -> Parser Bool -- ^ Boolean of which we are asserting truth -> Session ()
http-test.cabal view
@@ -1,5 +1,5 @@ Name: http-test-Version: 0.1.6+Version: 0.1.7 synopsis: Test framework for HTTP APIs Description: A simple framework for making assertions about the responses of HTTP servers.