From d4b2128d55f558069fb9ba88bb6cae534da98151 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Jul 2019 09:24:31 -0700 Subject: CONTRIBUTING.md: mention command tests. --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6766b37e4..b2cf63c3b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -185,7 +185,8 @@ the pattern of the existing tests. The test suite code is in probably easiest to add some data files to the `test` directory, and modify `test/Tests/Old.hs`. Otherwise, it is better to modify the module under the `test/Tests` hierarchy corresponding to the pandoc module you -are changing. +are changing. Alternatively, you may add a "command test" to +the `/test/command/` hierarchy, following the pattern of the tests there. For `docx` tests, you can rebuild the golden tests by passing `--accept` to the test script (so if you're using stack, -- cgit v1.2.3