diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-20 18:52:28 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-20 12:52:28 -0400 |
commit | 6208d4e7fcf1792203b3069d0002ad5cb1ec05dd (patch) | |
tree | 4aa85637c54ffaf67b950c1ed3c9ff7ce9a940de /test/test-pandoc.hs | |
parent | 90141e7b4fc48477106ee5481e3d9b1b4a54338e (diff) | |
download | pandoc-6208d4e7fcf1792203b3069d0002ad5cb1ec05dd.tar.gz |
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.
Diffstat (limited to 'test/test-pandoc.hs')
-rw-r--r-- | test/test-pandoc.hs | 6 |
1 files changed, 5 insertions, 1 deletions
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 () |