aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-05-20 18:52:28 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-05-20 12:52:28 -0400
commit6208d4e7fcf1792203b3069d0002ad5cb1ec05dd (patch)
tree4aa85637c54ffaf67b950c1ed3c9ff7ce9a940de /pandoc.cabal
parent90141e7b4fc48477106ee5481e3d9b1b4a54338e (diff)
downloadpandoc-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 'pandoc.cabal')
-rw-r--r--pandoc.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 75c37c2fe..8bf09cdd1 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -339,6 +339,8 @@ extra-source-files:
test/odt/markdown/*.md
test/odt/native/*.native
test/lua/*.lua
+ test/lua/module/pandoc.lua
+ test/lua/module/pandoc.utils.lua
source-repository head
type: git
location: git://github.com/jgm/pandoc.git
@@ -681,6 +683,7 @@ test-suite test-pandoc
Diff >= 0.2 && < 0.4,
tasty >= 0.11 && < 1.3,
tasty-hunit >= 0.9 && < 0.11,
+ tasty-lua >= 0.2 && < 0.3,
tasty-quickcheck >= 0.8 && < 0.11,
tasty-golden >= 2.3 && < 2.4,
QuickCheck >= 2.4 && < 2.14,
@@ -699,6 +702,7 @@ test-suite test-pandoc
Tests.Command
Tests.Helpers
Tests.Lua
+ Tests.Lua.Module
Tests.Shared
Tests.Readers.LaTeX
Tests.Readers.HTML