k3testdocumentation-generator
Tool for generating test documentation & test coverage out of a file/folder hierarchy (or an equivalent json file). A default file/folder hierarchy is defined below with which the tool will work without customisations/custom templates.
Tool for generationg the Documentation: k3testdocumentation-generator
Tool for generationg the Coverage: k3testdocumentation-generate-coverage
Installation (use within viruatlenv or equivalent)
pip install k3testdocumentation-generator
Prerequisites/Limitations:
When generating PDFs from HTML wkhtmltopdf needs to be installed (required by the pdfkit library). It is available in the package managers of the common linux distributions.
May require running a virtual X server on a headless environment.
When generating PDFs from LATEX pdflatex needs to be installed. It is also available in the package managers of the common linux distributions.
Default File/Folder Hierarchy
Create a the test directory structure (example included in src).
This structure works with the inbuilt template. To support a different
structure create a custom template and pass it using the --template parameter.
Note: any json file will be opened and interpreted. In the default structure
all json files need contain a list of strings
example_test_dir/
├── TC.XX.01
│ ├── precondition.md
│ ├── required_equiptment.json
│ ├── requirements_fully_tested.json
│ ├── requirements_partially_tested.json
│ ├── test_description.md
│ └── test_name.txt
└── TC.XX.02
├── test_descrition.md
└── __test__.json (Abbreviated form allowing the direct instanciation of
keys in one file. Will be overwritten if the file also
exists)
Corresponding k3testdocumentation-generator command:
k3testdocumentation-generator example_test_dir/ -v -o output.pdf
Corresponding k3testdocumentation-generate-coverage command:
and a required json file exists with requirements in the folling format
["R1","R2","P1","P2"]
k3testdocumentation-generate-coverage requirements_list.json example_test_dir/ -v -o output.pdf
Metadata
Release files for k3testdocumentation-generator 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| k3testdocumentation-generator-0.3.0.tar.gz | 9.9 kB | Without provenance | Details for k3testdocumentation-generator-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| k3testdocumentation_generator-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for k3testdocumentation_generator-0.3.0-py3-none-any.whl |
Total release size: 22.7 kB
Release files / k3testdocumentation-generator-0.3.0.tar.gz
| Download URL | k3testdocumentation-generator-0.3.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
551171020b393dba6f25670240f2d03bac597005fa4c280b088d95a629944e89
|
|
BLAKE2b-256 checksum How to use checksums |
57613b471ad3769365bf5c984bccfa68d097d3b00b51be93ae716e1b99794a01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
|
Release files / k3testdocumentation_generator-0.3.0-py3-none-any.whl
| Download URL | k3testdocumentation_generator-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd1e60296488b0ca968e09b4cc80c890eb97314388903eeaded2056e16eab960
|
|
BLAKE2b-256 checksum How to use checksums |
9fc8189035934fec8241529cd1d096241b9a1af008637c1999fa3789a9420273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3
|
Security for k3testdocumentation-generator 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.