diff options
author | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-24 23:14:18 +0200 |
---|---|---|
committer | Łukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-08-24 23:14:18 +0200 |
commit | 3c88a8a3336b26939738d481a60233821b926adb (patch) | |
tree | 9d48905454d2c88d5ef45ebb57e71c676abf856a /html-test/README.markdown | |
parent | 5b427d2a86f09832ba4e86a314abc821e4715aae (diff) |
Get rid of obsolete testing utilities.
Diffstat (limited to 'html-test/README.markdown')
-rw-r--r-- | html-test/README.markdown | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/html-test/README.markdown b/html-test/README.markdown deleted file mode 100644 index 717bac5c..00000000 --- a/html-test/README.markdown +++ /dev/null @@ -1,27 +0,0 @@ -This is a testsuite for Haddock that uses the concept of "golden files". That -is, it compares output files against a set of reference files. - -To add a new test: - - 1. Create a module in the `html-test/src` directory. - - 2. Run `cabal test`. You should now have `html-test/out/<modulename>.html`. - The test passes since there is no reference file to compare with. - - 3. To make a reference file from the output file, run - - html-test/accept.lhs <modulename> - -Tips and tricks: - -To "accept" all output files (copy them to reference files), run - - runhaskell accept.lhs - -You can run all tests despite failing tests, like so - - cabal test --test-option=all - -You can pass extra options to haddock like so - - cabal test --test-options='all --title="All Tests"' |