Add the test suite.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 1 Oct 2010 01:36:14 +0000 (21:36 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 1 Oct 2010 01:36:14 +0000 (21:36 -0400)
test/TestSuite.hs [new file with mode: 0644]

diff --git a/test/TestSuite.hs b/test/TestSuite.hs
new file mode 100644 (file)
index 0000000..09087b9
--- /dev/null
@@ -0,0 +1,13 @@
+import Test.HUnit
+
+import Twitter.Xml(xml_tests)
+
+-- The list of HUnit tests.
+test_suite = TestList (concat [xml_tests])
+
+main :: IO ()
+main = do
+  putStrLn "HUnit"
+  putStrLn "-----"
+  runTestTT test_suite
+  return ()
\ No newline at end of file