feat[tests]: Use tasty for hierarchical tests

This commit is contained in:
vegowotenks 2025-08-14 10:45:08 +02:00
parent 0d8470a87f
commit 766528677f
4 changed files with 25 additions and 9 deletions

View file

@ -1,9 +1,12 @@
{-# LANGUAGE Unsafe #-} -- unsafe: Uses functions imported from unsafe modules
import System.IO (IO)
import Control.Applicative (pure)
import Test.Data.Map.Implicit qualified
import Test.Tasty qualified as Tasty
import Data.Function (($))
main :: IO ()
main = do
_ <- Test.Data.Map.Implicit.runTests
pure ()
main = Tasty.defaultMain $ Tasty.testGroup "all"
[ Tasty.testGroup "Properties"
[ Test.Data.Map.Implicit.testGroup
]
]