allure-framework / allure-framework/allure-python

How can I gather the steps info in script for logging bug automatically when assertion fails

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
theme:pytest
Dominant language
Python
Stars
814
Forks
260
PR merge metrics
No merged PRs in 30d

Description

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: pytest@5.2.4
- Allure adaptor: allure-pytest@2.8.6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.