wip more docs
This commit is contained in:
parent
5e3df614bb
commit
9ff1d1a2a0
1 changed files with 10 additions and 0 deletions
|
|
@ -213,6 +213,16 @@ Furthermore, some `Runner` classes can depend on others. For example, `RunnerWor
|
|||
| 9. | Wordpress-2 | cleanups |
|
||||
|
||||
|
||||
# Create a test suite for a recipe
|
||||
|
||||
todo
|
||||
|
||||
To understand how a test suite is built, let's have a look at the files
|
||||
|
||||
runner_authentik.py -> required, defines the Runner subclass (see below)
|
||||
conftest.py -> not required. special file for pytest. is automatically discovered and loaded. convenient place to define fixtures and functions to be used in more than one test routine
|
||||
setup_authentik.py -> not required. can hold setup routine for authentik, has to be registered in runner_authentik.py
|
||||
|
||||
# Create a custom Runner
|
||||
|
||||
To comprehend the process of creating a new subclass of `Runner`, let's examine a simplified rendition of the `RunnerWordpress` class. Within it, there exist two setup scripts and two test scripts, one of which operates conditionally.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue