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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c987527328582d59f0750a039e241d9ae29543c4b38977444e63c506278b0e |
|
MD5 | 931a4507f86d943bca61bb1bb7d8e33f |
|
BLAKE2b-256 | 5172c3aa7624f1ff1a3938ef950acadb53e17eb8b2d340f9a4370caba3059698 |