git.iko.soy/typeable/pandoc
on master help sign in
INSTALL: Improved instructions for tests with patterns.
commit310ff99a8c648773056d6fe250524885b7d5ea2f authorJohn MacFarlane <jgm@berkeley.edu> dateFri 23 Jun 2017, 13:09 (9 years ago) parent57cc9a3
1 file changed+10−2
INSTALL.md+10−2
INSTALL.md+10−2
@@ -272,9 +272,17 @@ To run with cabal, `cabal test`; to run with stack, `stack
272272test`.
273273
274274To run particular tests (pattern-matching on their names), use
275−the `-t` option:
275+the `-p` option:
276276
277− cabal test --test-options='-t markdown'
277+ cabal test --test-options='-p markdown'
278+
279+Or with stack:
280+
281+ stack test --test-arguments='-p markdown'
282+
283+It is often helpful to add `-j4` (run tests in parallel)
284+and `--hide-successes` (don't clutter output with successes)
285+to the test arguments as well.
278286
279287If you add a new feature to pandoc, please add tests as well, following
280288the pattern of the existing tests. The test suite code is in