hslua-classes-2.3.0: test/test-hslua-classes.hs
{-|
Module : Main
Copyright : © 2007–2012 Gracjan Polak;
© 2012–2016 Ömer Sinan Ağacan;
© 2017-2023 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
]