diff options
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 +> ] + |