From e92c82e2c9ff541cd321ad7a8aedcf34e615197c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 14 Jun 2015 20:35:08 +0200 Subject: First public version --- src/Test.lhs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Test.lhs (limited to 'src/Test.lhs') 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 +> ] + -- cgit v1.2.3