better test framework
This commit is contained in:
parent
d93a372894
commit
606ed6bb35
1 changed files with 8 additions and 3 deletions
11
test.hs
11
test.hs
|
@ -1,8 +1,13 @@
|
||||||
-- TODO find a test harness that is actually in Debian and use it.
|
-- TODO find a test harness that is actually in Debian and use it.
|
||||||
|
|
||||||
import Test.QuickCheck
|
import Test.QuickCheck
|
||||||
|
import Test.HUnit
|
||||||
|
import Test.HUnit.Tools
|
||||||
|
|
||||||
import GitRepo
|
import GitRepo
|
||||||
|
|
||||||
main = do
|
alltests = [
|
||||||
putStr "prop_idempotent_deencode "
|
qctest "prop_idempotent_deencode" prop_idempotent_deencode
|
||||||
quickCheck prop_idempotent_deencode
|
]
|
||||||
|
|
||||||
|
main = runVerboseTests (TestList alltests)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue