48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
# testium training slides
|
|
|
|
Beamer presentation (LuaLaTeX) for the testium training.
|
|
|
|
## Compilation
|
|
|
|
Requires LuaLaTeX with the `minted` package (which requires Python and `pygments`).
|
|
|
|
```sh
|
|
make
|
|
```
|
|
|
|
The output PDF is generated in `build/`.
|
|
|
|
To clean the build directory:
|
|
|
|
```sh
|
|
make clean
|
|
```
|
|
|
|
## Document architecture
|
|
|
|
```
|
|
src/
|
|
├── main.tex # Entry point — includes all sections
|
|
├── preamble.tex # Packages, theme, colors, macros
|
|
├── images/
|
|
│ └── logo.png
|
|
└── sections/
|
|
├── title.tex # Title page
|
|
├── summary.tex # Table of contents
|
|
├── intro.tex # Introduction: features, input files, CLI, variables, inline eval, links
|
|
├── installation.tex # Installation from binary or sources
|
|
├── items.tex # Test items reference (console, py_func, loop, check, etc.)
|
|
├── functionalities.tex # Advanced features: result processing, includes, templating, reports
|
|
├── tips.tex # Tips and tricks
|
|
└── conclusion.tex # Thank you + contact
|
|
```
|
|
|
|
### Macros
|
|
|
|
| Macro | Usage |
|
|
|---|---|
|
|
| `\incode{text}` | Inline code (bold blue monospace) |
|
|
| `\tum{text}` | testium name highlight (bold orange italic) |
|
|
| `\pass{text}` | PASS result (bold green monospace) |
|
|
| `\fail{text}` | FAIL result (bold red monospace) |
|