diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-02 17:08:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-02 17:08:16 -0400 |
commit | 606ed6bb3566fa86c1783e3f1c7d799a6f1be8d1 (patch) | |
tree | b2036a9f8bc49aa0d1d740cf5b1387daf8d4dd33 | |
parent | d93a37289406fbeb0cedf05f1c8009f68cdb2570 (diff) |
better test framework
-rw-r--r-- | test.hs | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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) |