git.iko.soy/typeable/pandoc
on master help sign in
Add info about command test naming to CONTRIBUTING

Added a paragraph about naming conventions for tests in `test/command/` to the contributors guide. Advises to include issue number and/or feature being tested.

commitc55651d761e761f8a9b7dcdaef2b0c75740cd256 authorFlorian B <yuuki@protonmail.com> dateWed 16 Oct 2019, 12:44 (7 years ago) parenta933ad3
1 file changed+3
CONTRIBUTING.md+3
CONTRIBUTING.md+3
@@ -187,6 +187,9 @@ modify `test/Tests/Old.hs`. Otherwise, it is better to modify the module
187187under the `test/Tests` hierarchy corresponding to the pandoc module you
188188are changing. Alternatively, you may add a "command test" to
189189the `/test/command/` hierarchy, following the pattern of the tests there.
190+These test files should have a meaningful name, which can include the issue
191+number and/or the feature that's being tested. For example, `5474-tables.md`
192+refers to both issue and feature.
190193
191194You can rebuild the golden tests in `tests/` by passing
192195`--accept` to the test script. (If you're using stack, `stack