From 6208d4e7fcf1792203b3069d0002ad5cb1ec05dd Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 20 May 2019 18:52:28 +0200 Subject: Improve output of Lua tests (#5499) This makes use of tasty-lua, a package to write tests in Lua and integrate the results into Tasty output. Test output becomes more informative: individual tests and test groups become visible in test output. Failures are reported with helpful error messages. --- test/test-pandoc.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/test-pandoc.hs') diff --git a/test/test-pandoc.hs b/test/test-pandoc.hs index 64f381021..775f998ca 100644 --- a/test/test-pandoc.hs +++ b/test/test-pandoc.hs @@ -8,6 +8,7 @@ import GHC.IO.Encoding import Test.Tasty import qualified Tests.Command import qualified Tests.Lua +import qualified Tests.Lua.Module import qualified Tests.Old import qualified Tests.Readers.Creole import qualified Tests.Readers.Docx @@ -84,7 +85,10 @@ tests pandocPath = testGroup "pandoc tests" , testGroup "FB2" Tests.Readers.FB2.tests , testGroup "DokuWiki" Tests.Readers.DokuWiki.tests ] - , testGroup "Lua filters" Tests.Lua.tests + , testGroup "Lua" + [ testGroup "Lua filters" Tests.Lua.tests + , testGroup "Lua modules" Tests.Lua.Module.tests + ] ] main :: IO () -- cgit v1.2.3