mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 08:46:56 +00:00
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.
This commit is contained in:
committed by
John MacFarlane
parent
a933ad30fb
commit
c55651d761
@@ -187,6 +187,9 @@ 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. Alternatively, you may add a "command test" to
|
||||
the `/test/command/` hierarchy, following the pattern of the tests there.
|
||||
These test files should have a meaningful name, which can include the issue
|
||||
number and/or the feature that's being tested. For example, `5474-tables.md`
|
||||
refers to both issue and feature.
|
||||
|
||||
You can rebuild the golden tests in `tests/` by passing
|
||||
`--accept` to the test script. (If you're using stack, `stack
|
||||
|
||||
Reference in New Issue
Block a user