packages feed

polysemy-test-0.3.0.0: test/Main.hs

module Main where

import Test.Tasty (TestTree, defaultMain, testGroup)

import Polysemy.Test (unitTest)
import Polysemy.Test.Test.FilesTest (test_fixture, test_tempFile)
import Polysemy.Test.Test.HedgehogTest (test_hedgehogRewrite)

tests :: TestTree
tests =
  testGroup "all" [
    unitTest "read fixtures" test_fixture,
    unitTest "write and read temp files" test_tempFile,
    unitTest "rewrite TestT to Sem" test_hedgehogRewrite
  ]

main :: IO ()
main =
  defaultMain tests