The goal of this tool is to generate an AsciiDoc PDF which includes Junit .xml test results. This tool is intended to parse cukinia generated Junit files.
$ ./compile.py -hDocker support is provided using cqfd, so it is possible to run:
$ cqfd init
$ cqfd run ./compile.py -hWhen building directly on the machine, the asciidoctor-pdf and junitparser
python packages are required.
XML files are automatically detected and displayed in the test report. Each file
creates its own table with all tests one after another.
Several tables can be generated for the same file using cukinia suite feature:
logging suite "name" in the cukinia configuration file. This will also change
the title of the table.
To specify the table title for a machine, use the class feature of cukinia :
logging class "name" and the -m option. This will append "for name" in the
title.
The source directory can be selected with the -i option. This directory shall
contain all XML file to include to the test report.
It can also include a prerequisites.adoc file that will be added on top of the
document and a notes.adoc file that will appear at the end. Both files are
optional.
One or many compliance matrices can be added at the end of the report. These matrices are auto-generated by the program, using a CSV file in entry.
The CSV must contain on each line a requirement and a test id. Here is an example :
cluster requirement,289
security requirement,143
security requirement,17
security requirement,23
stress resistance,34
stress resistance,35
documentation requirement,345
This CSV file will be sorted alphabetically before being integrated in the document.
When the -m option is set, the matrix is created for each machine used in the
XML.
When the option is not set, only one matrix is provided, compiling the result of
all machines at once.
This feature only works when the tests provide an ID field.
Two examples are provided in the examples directory, both with their original
cukinia.conf file.
Lauching the cqfd command without any argument will compile these two
examples.

