add testcoverage target using hpc
added a test for key read and show
This commit is contained in:
parent
f1b747e6d9
commit
759e860e4b
4 changed files with 31 additions and 1 deletions
3
test.hs
3
test.hs
|
@ -4,14 +4,17 @@ import Test.HUnit.Tools
|
|||
import GitRepo
|
||||
import Locations
|
||||
import Utility
|
||||
import TypeInternals
|
||||
|
||||
alltests :: [Test]
|
||||
alltests = [
|
||||
qctest "prop_idempotent_deencode" prop_idempotent_deencode,
|
||||
qctest "prop_idempotent_fileKey" prop_idempotent_fileKey,
|
||||
qctest "prop_idempotent_key_read_show" prop_idempotent_key_read_show,
|
||||
qctest "prop_idempotent_shellescape" prop_idempotent_shellescape,
|
||||
qctest "prop_idempotent_shellescape_multiword" prop_idempotent_shellescape_multiword
|
||||
]
|
||||
|
||||
main :: IO (Counts, Int)
|
||||
main = runVerboseTests (TestList alltests)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue