1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
{-|
Module : Main
Copyright : © 2007–2012 Gracjan Polak;
© 2012–2016 Ömer Sinan Ağacan;
© 2017-2024 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <tarleb@hslua.org>
Stability : beta
Portability : non-portable (depends on GHC)
Test marshaling/unmarshaling from and to the Lua stack.
-}
module Main (main) where
import Test.Tasty (TestTree, defaultMain, testGroup)
import qualified HsLua.ClassesTests
import qualified HsLua.Class.ExposableTests
import qualified HsLua.Class.InvokableTests
import qualified HsLua.Class.PeekableTests
import qualified HsLua.Class.PushableTests
import qualified HsLua.Class.UtilTests
main :: IO ()
main = defaultMain $ testGroup "hslua-classes" tests
-- | HSpec tests
tests :: [TestTree]
tests =
[ HsLua.Class.ExposableTests.tests
, HsLua.Class.InvokableTests.tests
, HsLua.Class.PeekableTests.tests
, HsLua.Class.PushableTests.tests
, HsLua.Class.UtilTests.tests
, HsLua.ClassesTests.tests
]
|