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 Distributions
Built Distribution
Hashes for openhtf_docx_report-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b93b079a3557840656f5871201ff583bb4d79c4573651a044c4bf82ccff49722 |
|
MD5 | 5fa66ba41db60d1299c478ad2aa09a53 |
|
BLAKE2b-256 | 02f33b8f9762459bb070b6c1693b89bfd636ce3d38b3ca94f77d6315beda1e1a |