]> git.rkrishnan.org Git - functorrent.git/blobdiff - functorrent.cabal
WIP: split tests into their own modules
[functorrent.git] / functorrent.cabal
index 08fd0c247a7a8e167d0eab360c8ce0117e4f3545..05ed4b3aa8286c403b2611126c15195f007636e6 100644 (file)
@@ -57,6 +57,7 @@ executable functorrent
                        cryptohash,
                        directory,
                        HTTP,
+                       QuickCheck,
                        network-uri,
                        parsec
 
@@ -65,6 +66,7 @@ test-suite functorrent-test
   default-language:  Haskell2010
   hs-source-dirs:    test
   main-is:           Test.hs
+  other-modules:     BencodeTests
   build-depends:     base,
                      functorrent,
                      bytestring,
@@ -72,7 +74,10 @@ test-suite functorrent-test
                      directory,
                      doctest,
                      tasty,
-                     tasty-hunit
+                     tasty-hunit,
+                     QuickCheck,
+                     tasty-quickcheck,
+                     test-framework-quickcheck2
 
 test-suite functorrent-hlint
   type:              exitcode-stdio-1.0