$ cabal configure --enable-tests $ cabal build $ cabal test Preprocessing library pandoc-1.14.0.4... In-place registering pandoc-1.14.0.4... Preprocessing test suite 'test-pandoc' for pandoc-1.14.0.4... Running 1 test suites... Test suite test-pandoc: RUNNING... Test suite test-pandoc: PASS Test suite logged to: dist/test/pandoc-1.14.0.4-test-pandoc.log 1 of 1 test suites (1 of 1 test cases) passe