allure-python
allure-python copied to clipboard
How can I gather the steps info in script for logging bug automatically when assertion fails
I'm submitting a ... [ X] feature request
I added testing steps via allure.step for each individual stories for Allure Report, and I received a requirement that script should be able to log bug via Bug Management System API automatically when assertion fails. My problem is I need an easy way to collect the steps info I added via allure.step, so that I can log it into Bug Management System for people to reproduce the issue. Please kindly suggest. Many thanks :)
- Allure version: 2.13.0
- Test framework: [email protected]
- Allure adaptor: [email protected]