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
Hashes for openhtf-docx-report-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b59595132ebd5302f0e7fbab6cbd7eee4621ff399419083f68f7e3291cf63b |
|
MD5 | 9a7671c04c25e346ff8880192e706794 |
|
BLAKE2b-256 | 59beefe0d31d520f49c14b36b861c94497ca03991343a77702c35c965e4676ec |
Hashes for openhtf_docx_report-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9de3fd97c298c5ec939ad908b693a2a50878ed09ad5937332620bc0a5166ee1 |
|
MD5 | b014c98bfd095f0053be0e0ae4e88d86 |
|
BLAKE2b-256 | 5fef9cf320fd710dc995af58be2e43ba1c704ab9ae04485828bf0100febfccda |