summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-02 17:08:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-02 17:08:16 -0400
commit606ed6bb3566fa86c1783e3f1c7d799a6f1be8d1 (patch)
treeb2036a9f8bc49aa0d1d740cf5b1387daf8d4dd33 /test.hs
parentd93a37289406fbeb0cedf05f1c8009f68cdb2570 (diff)
better test framework
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/test.hs b/test.hs
index e9ea68459..989723617 100644
--- a/test.hs
+++ b/test.hs
@@ -1,8 +1,13 @@
-- TODO find a test harness that is actually in Debian and use it.
import Test.QuickCheck
+import Test.HUnit
+import Test.HUnit.Tools
+
import GitRepo
-main = do
- putStr "prop_idempotent_deencode "
- quickCheck prop_idempotent_deencode
+alltests = [
+ qctest "prop_idempotent_deencode" prop_idempotent_deencode
+ ]
+
+main = runVerboseTests (TestList alltests)