summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2009-03-16 09:36:52 +1300
committerStuart Rackham <srackham@methods.co.nz>2009-03-16 09:36:52 +1300
commit8f937339c50e73642412a3d38cd3b73fcb9e79ad (patch)
tree050d4848cf6122ab16692384c2a131a2f539ef73 /doc
parentc17094fd174a58b61cd7c13b1d1a13b81f21c86b (diff)
downloadasciidoc-py3-8f937339c50e73642412a3d38cd3b73fcb9e79ad.tar.gz
Added 'backends' configuration directive.
Diffstat (limited to 'doc')
-rw-r--r--doc/testasciidoc.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/testasciidoc.txt b/doc/testasciidoc.txt
index 3ac6aac..af52d6e 100644
--- a/doc/testasciidoc.txt
+++ b/doc/testasciidoc.txt
@@ -29,11 +29,13 @@ Currently 'testasciidoc' has the following commands:
specifies AsciiDoc source and command options and expected outputs.
When the test is run the generated output is compared to the
expected output and any differences displayed as a diff. You can
- run a single test by specifying the test number after the `run`
- command. Examples:
+ run a single test by specifying the test number and/or backend after
+ the `run` command. Examples:
python testasciidoc.py run
- python testasciidoc.py run 4
+ python testasciidoc.py run 3
+ python testasciidoc.py run html4
+ python testasciidoc.py run 3 html4
'list'::
List test numbers and titles.
@@ -66,6 +68,9 @@ Optional dictionary of attribute values.
% asciidoc[: filename]
AsciiDoc inline input (if no filename is specified).
+% backends
+Optional list of backends (default is all backends).
+
% <backend>
Optional expected inline output from <backend> backend.
-------------------------------------------------------
@@ -108,5 +113,7 @@ files (defaults to configuration file directory). For example:
`(name,None)` tuple.
- `attributes` specify a Python dictionary for AsciiDoc attributes to
be passed to AsciiDoc.
+- `backends` specifies a Python list of backend strings. If this
+ directive is ommitted it defaults to all backends.
See `./tests/testasciidoc.conf` for examples.