File: test-pandoc-lua-engine.hs

package info (click to toggle)
haskell-pandoc-lua-engine 0.2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 648 kB
  • sloc: haskell: 3,709; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
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
  ]