Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add test suite

  • Loading branch information...
commit bd9d97f04a6336c66ea458b5978686addbfa21b2 1 parent 7dd9c22
@yihuang authored
Showing with 18 additions and 3 deletions.
  1. +18 −3 tagstream-conduit.cabal
View
21 tagstream-conduit.cabal
@@ -6,8 +6,8 @@ Description:
It can parse unstructured and malformed HTML from the web.
It also provides an Enumeratee which can parse streamline html, which means it consumes constant memory.
- Users can start from the `tests/Tests.hs` module to see what it can do.
-Homepage: http://github.com/yihuang/tag-stream
+ You can start from the `tests/Tests.hs` module to see what it can do.
+Homepage: http://github.com/yihuang/tagstream-conduit
License: BSD3
License-file: LICENSE
Author: yihuang
@@ -17,7 +17,7 @@ Build-type: Simple
Extra-source-files: tests/Tests.hs
, Highlight.hs
, Parse.hs
-Cabal-version: >=1.6
+Cabal-version: >=1.8
source-repository head
type: git
@@ -36,3 +36,18 @@ Library
, attoparsec
, blaze-builder
, blaze-builder-conduit
+
+test-suite test
+ hs-source-dirs: tests
+ main-is: Tests.hs
+ type: exitcode-stdio-1.0
+ build-depends: base >= 4 && < 5
+ , bytestring
+ , conduit >= 0.0.2
+ , QuickCheck
+ , HUnit
+ , test-framework
+ , test-framework-quickcheck2
+ , test-framework-hunit
+ , tagstream-conduit
+ ghc-options: -Wall
Please sign in to comment.
Something went wrong with that request. Please try again.