summaryrefslogtreecommitdiff
path: root/tests/test-pandoc.hs
Commit message (Collapse)AuthorAge
* Make options work with test-pandoc.John MacFarlane2014-08-13
|
* Improved EPUB TestsMatthew Pickering2014-08-10
| | | | | | | | | | | | | Rewrote features test to remove all unimplemented features. There are now all three examples of where an image can be included in the test. 1. Cover image 2. As a spine elemnt 3. In the document Tests have also been added to make sure that the mediabag contains all these images after processing.
* Correctly implement capitalisation.Artyom Kazak2014-08-03
| | | | | | | | Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it.
* Txt2Tags Reader: Added testsMatthew Pickering2014-07-27
|
* Naming: Use Docx instead of DocX.John MacFarlane2014-06-16
| | | | For consistency with the existing writer.
* Add DocX tests to test-pandoc.hsJesse Rosenthal2014-06-16
|
* AsciiDoc writer: Added test for empty table cells.John MacFarlane2014-05-03
|
* Add some unit tests for Writers.DocbookNeil Mayhew2014-04-12
| | | | | | | | These are primarily aimed at testing the new treatment of line breaks, but hopefully other tests can be added more easily now as features and changes are implemented in the writer. Adapted from Tests.Writers.HTML.tests.
* Add a simple Emacs Org-mode readerAlbert Krewinkel2014-03-04
| | | | | The basic structure of org-mode documents is recognized; however, org-mode features like todo markers, tags etc. are not supported yet.
* Pass the buildDir as first argument to test suite.John MacFarlane2013-10-20
| | | | | Allows test suite to work with cabal sandboxes. Previously we hard-coded the build directory.
* Added Tests.Walk.John MacFarlane2013-08-10
| | | | This verifies that walk and query match the generic traversals.
* Set locale encoding in test suite.John MacFarlane2013-01-18
| | | | | This prevents a "commit buffer (invalid argument)" error on Windows.
* Integrated test suite with cabal.John MacFarlane2012-07-26
| | | | | | | | To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface.
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Moved tests to src.John MacFarlane2011-01-29
|
* Added Tests.Shared with normalize round-trip tests.John MacFarlane2011-01-29
|
* Added Tests.Readers.Markdown.John MacFarlane2011-01-26
|
* Added RST reader tests.John MacFarlane2011-01-26
|
* Reorganized tests.John MacFarlane2011-01-22
| | | | The native writer test needs to run before others that depend on it.
* Added native writer tests.John MacFarlane2011-01-22
|
* Added Tests.Writers.ConTeXt and helpers for writer tests.John MacFarlane2011-01-21
|
* Keep Tests.Arbitrary but remove quickcheck tests for now.John MacFarlane2011-01-14
| | | | | Remove Tests.Shared. Remove dependency on QuickCheck.
* Added quickcheck tests for normalize in Shared.John MacFarlane2011-01-14
|
* Reordered test files.Nathan Gass2011-01-12
|
* Added some basic testing infrastructure and some latex reader tests.Nathan Gass2011-01-12
|
* Started implementing splitted test suite.Nathan Gass2011-01-12
| | | | | | 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.
* test-pandoc: Improved header for diff output.John MacFarlane2011-01-12
|
* test-pandoc: More informative diff output on test failure.John MacFarlane2011-01-12
| | | | | Now the test suite tells you the exact command that was run, and the file containing the expected output.
* test-pandoc: Relocated --columns=80 to just where it's needed.John MacFarlane2011-01-12
| | | | | We only need it for certain table tests, because of the relative alignments.
* test-pandoc: Fixed + and - in diff output, which were reversed.John MacFarlane2011-01-12
|
* test-pandoc: More diff-like diffs in case of test failure.John MacFarlane2011-01-12
|
* Improvements to test suite.John MacFarlane2011-01-12
| | | | | | | | | | | | | | | | + 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.
* Removed outdated comments.Nathan Gass2011-01-11
|
* Moved test-pandoc.hs to tests directory.Nathan Gass2011-01-11