]> gitweb.michael.orlitzky.com - dead/halcyon.git/blobdiff - test/TestSuite.hs
Bump all dependencies and switch from test-framework to tasty for tests.
[dead/halcyon.git] / test / TestSuite.hs
index 09087b9de99cd4742e75509c13ad61bd451f61ad..e91d3e99184572f61a110abdb6589a74eafc9a08 100644 (file)
@@ -1,13 +1,18 @@
-import Test.HUnit
+module Main
+where
 
-import Twitter.Xml(xml_tests)
+import Test.Tasty ( TestTree, defaultMain, testGroup )
 
--- The list of HUnit tests.
-test_suite = TestList (concat [xml_tests])
+import StringUtils ( string_utils_tests )
+import Twitter.Status ( status_tests )
+import Html ( html_tests )
+
+tests :: TestTree
+tests =
+  testGroup "All Tests" [
+    html_tests,
+    status_tests,
+    string_utils_tests ]
 
 main :: IO ()
-main = do
-  putStrLn "HUnit"
-  putStrLn "-----"
-  runTestTT test_suite
-  return ()
\ No newline at end of file
+main = defaultMain tests