aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pandoc.hs
AgeCommit message (Collapse)AuthorFilesLines
2011-01-12Reordered test files.Nathan Gass1-5/+5
2011-01-12Added some basic testing infrastructure and some latex reader tests.Nathan Gass1-0/+3
2011-01-12Started implementing splitted test suite.Nathan Gass1-181/+3
Moved old tests into Old.hs and added new simple test-pandoc.hs for loading and grouping together tests from different files. Later commits will add more testfiles to the suite with more modular tests.
2011-01-12test-pandoc: Improved header for diff output.John MacFarlane1-2/+2
2011-01-12test-pandoc: More informative diff output on test failure.John MacFarlane1-4/+7
Now the test suite tells you the exact command that was run, and the file containing the expected output.
2011-01-12test-pandoc: Relocated --columns=80 to just where it's needed.John MacFarlane1-4/+4
We only need it for certain table tests, because of the relative alignments.
2011-01-12test-pandoc: Fixed + and - in diff output, which were reversed.John MacFarlane1-2/+2
2011-01-12test-pandoc: More diff-like diffs in case of test failure.John MacFarlane1-5/+5
2011-01-12Improvements to test suite.John MacFarlane1-10/+14
+ You can now specify glob patterns after 'cabal test'; e.g. 'cabal test latex' will only run the latex tests. + Instead of detecting highlighting support in Setup.hs, we now detect it in test-pandoc, by looking to see if 'languages' is null. + We now verify the lhs readers against the lhs-test.native, normalizing with 'normalize'. This makes more sense than verifying against HTML, which also brings in the HTML writer. + Added lhsn-test.nohl.{html,html+lhs}, so we can do the lhs tests whether or not highlighting has been installed.
2011-01-11Removed outdated comments.Nathan Gass1-12/+0
2011-01-11Moved test-pandoc.hs to tests directory.Nathan Gass1-0/+197