{-# LANGUAGE TemplateHaskell #-}
module Main
 where

import Test.HUnit
import Control.Monad.Trans
import Shaker.TestTH
import Test.QuickCheck
import Shaker.Cabal.CabalInfoTest
import Shaker.Action.CompileTest
import Shaker.CliTest
import Shaker.ListenerTest
import Shaker.ParserTest
import Shaker.RegexTest
import Shaker.IoTest
import Shaker.ReflexiviteTest
import Shaker.SourceHelperTest

main :: IO()
main = do 
  mapM_ liftIO propLists
  _ <- testLists
  return () 

propLists :: [IO()]
propLists = $(thListProperties)

testLists :: IO Counts
testLists = runTestTT  $ TestList $(thListHunit)



{-# LANGUAGE TemplateHaskell #-}
module Main
 where

import Shaker.TestTH
import Shaker.Cabal.CabalInfoTest
import Shaker.Action.CompileTest
import Shaker.CliTest
import Shaker.ListenerTest
import Shaker.ParserTest
import Shaker.RegexTest
import Shaker.IoTest
import Shaker.ReflexiviteTest
import Shaker.SourceHelperTest
import Test.Framework
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2

main :: IO()
main = defaultMain $(thListTestFramework)


Switch test execution to test-framework
Switch test execution to test-framework
