]> 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 036e61622e1df1d1d5a14ead79e25864088b9a47..e91d3e99184572f61a110abdb6589a74eafc9a08 100644 (file)
@@ -1,16 +1,18 @@
-import Test.Framework (
-  Test,
-  defaultMain,
-  )
+module Main
+where
 
-import StringUtils (string_utils_tests)
-import Twitter.Status(status_tests)
-import Html(html_tests)
+import Test.Tasty ( TestTree, defaultMain, testGroup )
 
-tests :: [Test]
-tests = [ html_tests,
-          status_tests,
-          string_utils_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 = defaultMain tests