Simple Openhtf MS-Word document test report callback
Project description
openhtf-docx-report Package
This is a simple Openhtf/Spintop-Openhtf report callback to generate a MS-WORD test report.
To use it you have to add an import statement from openhtf_docx_report import docx_report_callback
and then a callback in your main test sequence test.add_output_callbacks(docx_report_callback)
and to add the test description, etc fields you have to add them as metadata
test = htf.Test(hello_world, test_name='MyTest', test_description='OpenHTF Example Test', test_version='1.0.0', user_id = 'operator', path = 'reports')
And if you want the docx test documents in a certain directory then add a path field. (e.g. path = 'reports')
Sample template is included in tests; template.docx
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openhtf-docx-report-0.0.4.tar.gz.
File metadata
- Download URL: openhtf-docx-report-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2b59595132ebd5302f0e7fbab6cbd7eee4621ff399419083f68f7e3291cf63b
|
|
| MD5 |
9a7671c04c25e346ff8880192e706794
|
|
| BLAKE2b-256 |
59beefe0d31d520f49c14b36b861c94497ca03991343a77702c35c965e4676ec
|
File details
Details for the file openhtf_docx_report-0.0.4-py3-none-any.whl.
File metadata
- Download URL: openhtf_docx_report-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9de3fd97c298c5ec939ad908b693a2a50878ed09ad5937332620bc0a5166ee1
|
|
| MD5 |
b014c98bfd095f0053be0e0ae4e88d86
|
|
| BLAKE2b-256 |
5fef9cf320fd710dc995af58be2e43ba1c704ab9ae04485828bf0100febfccda
|