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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b553140f60690e98ec22e836fa74db825ce25b608fd9c1699ab8fec9cb6810 |
|
MD5 | 22eb504a720573be2472244cfc779112 |
|
BLAKE2b-256 | c996ec8cb37156e3ae9b6d0e86dcf95f99abacffa225860962da557d8b9ef2e0 |
Hashes for openhtf_docx_report-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7a22e3f55c36638e6ad9bd9da302473cc0c85407e806af9cf62632b7dab20a |
|
MD5 | 08dd92d18ec278b69216396a3ee7e99d |
|
BLAKE2b-256 | 930f2a7271237734fd3443c3e3fa8677d55a4ce6cab5983655d104dd2af22c5e |