diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-06-14 20:35:08 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-06-14 20:35:08 +0200 |
commit | e92c82e2c9ff541cd321ad7a8aedcf34e615197c (patch) | |
tree | fd07d24164450f25a224eb593922e4a4926d062b /src/Test.lhs | |
download | pesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.tar.gz pesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.tar.bz2 pesto-e92c82e2c9ff541cd321ad7a8aedcf34e615197c.zip |
First public version
Diffstat (limited to 'src/Test.lhs')
-rw-r--r-- | src/Test.lhs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Test.lhs b/src/Test.lhs new file mode 100644 index 0000000..852c700 --- /dev/null +++ b/src/Test.lhs @@ -0,0 +1,21 @@ +Running tests ++++++++++++++ + +.. class:: nodoc + +> import Test.HUnit +> import Codec.Pesto.Parse (test) +> import Codec.Pesto.Lint (test) +> import Codec.Pesto.Graph (test) + +The testcases can be run with ``cabal run pesto-test``. This runs *all* +testcases from all modules and prints a summary. + +> main = runTestTT tests + +> tests = TestList [ +> "parse" ~: Codec.Pesto.Parse.test +> , "graph" ~: Codec.Pesto.Graph.test +> , "lint" ~: Codec.Pesto.Lint.test +> ] + |