diff options
author | David Waern <david.waern@gmail.com> | 2010-05-11 19:14:31 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2010-05-11 19:14:31 +0000 |
commit | a7cfb1d83c7e0f97a806e1f2c202416e625b2ce2 (patch) | |
tree | a4154de09f38ddee5e17bc16bfac323a41d9b7b5 /tests/README | |
parent | c7d9f7678de931e580a3fe1bec2fb0e2dead84d3 (diff) |
Re-organise the testsuite structure
Diffstat (limited to 'tests/README')
-rw-r--r-- | tests/README | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/README b/tests/README deleted file mode 100644 index 5c5bef60..00000000 --- a/tests/README +++ /dev/null @@ -1,28 +0,0 @@ - -A testsuite for Haddock that uses the concept of "golden files" (compares -output files against a set of reference files). - -To add a new test: - - 1) Create a module in the "tests" directory. - - 2) Run runtests.hs. You should now have output/<modulename>.html. The test - passes since there is no reference file to compare with. - - 3) To make a reference file from the output file, do - runhaskell copy.hs <modulename> - -Tips and tricks: - -You can - runhaskell copy.hs - -to copy all output files into reference files. - -You can - runhaskell runtests.hs all - -to continue despite a failing test. - -You can pass extra options to haddock like so - runhaskell runtests.hs --xhtml all |