typhoon-hil / allure-docx

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

Word document does not display matching data when using pytest.mark.parametrize #23

Open AdamJS123 opened 5 years ago

AdamJS123 commented 5 years ago

The word and PDF documents generated when using pytest.mark.parametrize are showing only a single test case has run when a parameter has run a test case multiple times. Using @allure.title and @pytest.mark.parametrize together appears to be causing the issue.

For example, if the parametrization runs 1 function 10 times, the web report will show that 10 test cases have run, however the word document will show 1 test case which will be the last test case to run as part of the sequence.

Sup3rGeo commented 5 years ago

@AdamJS123 thanks for the report and sorry for the delayed response.

Would you have a minimal test case that presents this behaviour so I could reproduce it here?