Skip to main content

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

openhtf-docx-report-0.0.4.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

openhtf_docx_report-0.0.4-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page