blob: 21febddb58e1e364ae1d8c87158fb9ac1189c0a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
module Main (main) where
import Test.Tasty (TestTree, defaultMain, testGroup)
import qualified Tests.Lua
import qualified Tests.Lua.Module
import qualified Tests.Lua.Reader
import qualified Tests.Lua.Writer
import System.Directory (withCurrentDirectory)
main :: IO ()
main = withCurrentDirectory "test" $ defaultMain tests
tests :: TestTree
tests = testGroup "pandoc Lua engine"
[ testGroup "Lua filters" Tests.Lua.tests
, testGroup "Lua modules" Tests.Lua.Module.tests
, testGroup "Custom writers" Tests.Lua.Writer.tests
, testGroup "Custom readers" Tests.Lua.Reader.tests
]
|