TESTASCIIDOC(1)
π testasciidoc(1)
okay bestie, welcome to the testasciidoc page β it's the testasciidoc manual, section 1, and honestly? she's a little niche but she serves. this is the girl who runs conformance tests π
β¨ NAME β¨
testasciidoc β like, run the AsciiDoc conformance tests that are specified in a configuration file. that's the whole gig. no cap.
π¦ SYNOPSIS π¦
testasciidoc [OPTIONS] COMMAND
πΈ DESCRIPTION πΈ
so the testasciidoc command runs AsciiDoc conformance tests specified in a configuration file. yes, that's literally it. she tests. she conforms. she's an icon. π
π COMMANDS π
the testasciidoc toolset has three different commands, and honestly the way they divvy up the work is giving organized:
testasciidoc list
testasciidoc run [-n, --number NUMBER] [-b, --backend BACKEND] [OPTIONS]
testasciidoc update [-n, --number NUMBER] [-b, --backend BACKEND] [OPTIONS]
here's what each one does, bestie:
listβ list all the available test cases. window shopping fr.runβ execute the tests: regenerate the temporary test cases and compare them to the reference files. the actual vibe check. π₯updateβ regenerate and update the test data reference files. β οΈ you need to launch this at least once to even have the reference files to compare against during the tests. like, you can't compare to nothing, babe.
and where:
- NUMBER β the index number of the test case, straight from the
testasciidoc listcommand. iykyk. - BACKEND β the asciidoc backend to use. β¨
- OPTIONS β the options listed below, duh π
π OPTIONS π
-f,--conf-file=CONF_FILEβ use the configuration fileCONF_FILE. for more info about the configuration file format, refer to the tests documentation π«Ά--forceβ update all test data, overwriting existing data. no mercy, no survivors π
π EXAMPLES π
testasciidoc listβ lists all the test actions available for running or updating β¨testasciidoc runβ runs all the testing actions available. go off, queen π₯testasciidoc run --number 1 --backend html5 --conf-file=/etc/asciidoc/testasciidoc.confβ run the test case1for thehtml5asciidoc backend using the configuration file/etc/asciidoc/testasciidoc.conftestasciidoc update --number 1 --backend html5β generate or update the reference files used for the tests cases' 1st action of thehtml5asciidoc backend
β EXIT STATUS β
0β success π slay1β failure. and she's not subtle about it: syntax or usage error; configuration error; document processing failure; unexpected error π
π BUGS π
see the AsciiDoc distribution BUGS file. yes, there's a whole file. she's aware of her flaws, ok.
π§ AUTHOR π§
AsciiDoc was originally written by Stuart Rackham. many people have contributed to it π
π RESOURCES π
- GitHub:
https://github.com/asciidoc/asciidoc-py3 - Main web site:
https://asciidoc.org/
π SEE ALSO π
okay that's the whole page, bestie πΈ this edition is dated 07/17/2024 and it's the testasciidoc(1) page from the AsciiDoc distribution β go forth and conformance-test responsibly, mwah π
π
π¦ where this page comes from
- alpine 3.22: asciidoc-doc 10.2.1-r0 Β· GPL-2.0-or-later AND MIT
- alpine 3.23: asciidoc-doc 10.2.1-r0 Β· GPL-2.0-or-later AND MIT
- alpine 3.24: asciidoc-doc 10.2.1-r1 Β· GPL-2.0-or-later AND MIT
- arch rolling: asciidoc 10.2.1-3 Β· GPL-2.0-or-later
- opensuse-leap 16.0: asciidoc 10.2.1-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms