Repository for Apertis tests cases.
Format Rules/Notes
- Test cases with an
install.depsdirective will automatically add apre conditionssection to the test case page with the list of packages to install specified in such a directive.
Macro helpers
Some test cases share the same set of instructions, for those, some macros are
available: macro_ostree_preconditions , macro_install_packages_preconditions,
and macro_modules_preconditions. Please check the tests cases for example about
how to use them.
Command
The main program is located inside the renderer/ subdirectory and can be directly
invoked from inside that directory:
$ cd renderer/
$ ./render-test-case --help
The above command will show the help.
To render a single test case, use something like:
$ ./render-test-case ../tests-cases/<test-case-name>.yaml
That will create a <test-case-name>.html page.
To render a complete set of test cases inside a directory, just pass a directory
instead of a file to the command, and optionally pass a new directory path with
the -d flag so all the newly generated test cases are saved there instead of the
current directory:
$ ./render-test-case ../tests-cases/ -d apertis-tests-cases-v0.1/
Now all the html tests cases should be available inside the
apertis-tests-cases-v0.1/ directory.

