typhoon-hil / allure-docx

docx report generation based on allure-generated json files
MIT License
30 stars 14 forks source link

reworked #36

Closed bjarnesc closed 1 year ago

bjarnesc commented 1 year ago

This is a rework of the original library, in particular adding wide options to configure the docx / pdf output. Following changes have been made:

See the adjusted README for usage of the new configuration method.

Tiarles commented 1 year ago

Hello @bjarnesc, sorry about the late response. I am part of the Test Automation Team of Typhoon-HIL in Serbia, Novi Sad and I will take a look at your pull request in the next weeks. Thank you for your contribution.

bscheima commented 1 year ago

I found out parameterized tests from pytest were not working from the original data building as tests with same names were simply marked as duplicates. I fixed this and used the opportunity to build a result dict containing all the historic results. This could be used to add support for showing history later on.

bscheima commented 1 year ago

Also note that the library is now implemented such that it has easy api access for using the library inside other python projects. Simply create a ReportConfig object by passing a tag or .ini file, create a ReportBuilder and save it somewhere.