git.iko.soy/typeable/http-api-data
on master help sign in
Add doctest test suite
d8a6fbcNickolay Kudasov
http-api-data.cabal+6
@@ -39,6 +39,12 @@ test-suite test
39 , text
39 , text
40 , time
40 , time
41
41
42+test-suite doctest
43+ build-depends: base, doctest, Glob
44+ hs-source-dirs: test
45+ main-is: DocTest.hs
46+ type: exitcode-stdio-1.0
47+
42source-repository head
48source-repository head
43 type: git
49 type: git
44 location: https://github.com/fizruk/http-api-data
50 location: https://github.com/fizruk/http-api-data
test/DocTest.hsnew file+7
@@ -0,0 +1,7 @@
1+module Main (main) where
2+
3+import System.FilePath.Glob (glob)
4+import Test.DocTest (doctest)
5+
6+main :: IO ()
7+main = glob "Web/**/*.hs" >>= doctest