This is the command testasciidoc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
testasciidoc - Run AsciiDoc conformance tests specified in configuration file.
SYNOPSIS
testasciidoc [OPTIONS] COMMAND
DESCRIPTION
The testasciidoc(1) command run AsciiDoc conformance tests specified in configuration
file.
COMMANDS
The testasciidoc tools has 3 different commands:
testasciidoc list
testasciidoc run [NUMBER] [BACKEND] [OPTIONS]
testasciidoc update [NUMBER] [BACKEND] [OPTIONS]
The commands perform as follows:
list
List available tests cases.
run
Execute tests (regenerate temporary test cases and compare them to the reference
files).
update
Regenerate and update test data reference files. Needs to be launched at least once to
have the reference files to compare to during the tests.
Where:
NUMBER
Is the index number of the action registered in testasciidoc list command.
BACKEND
Is the asciidoc backend to use.
OPTIONS
Are the options listed previously
OPTIONS
-f, --conf-file=CONF_FILE
Use configuration file CONF_FILE
--force
Update all test data overwriting existing data
EXAMPLES
testasciidoc list
Lists all the test actions available for running or updating.
testasciidoc run
Runs all the testing actions available.
testasciidoc run 1 html5 --conf-file=/etc/asciidoc/testasciidoc.conf
Run the test case 1 for the html5 asciidoc backend using the configuration file
/etc/asciidoc/testasciidoc.conf.
testasciidoc update 1 html5
Generate or update the reference files used for the tests cases 1st action of the
html5 asciidoc backend.
EXIT STATUS
0
Success
1
Failure (syntax or usage error; configuration error; document processing failure;
unexpected error).
Use testasciidoc online using onworks.net services