allure-framework / allure-framework/allure-python
ansi escape sequences formatting
- Dominant language
- Python
- Stars
- 814
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
### Discussed in https://github.com/orgs/allure-framework/discussions/2485
Originally posted by **kuerbisbeule33** April 8, 2024
If I generate the Allure report, I notice that the raw ANSI escape sequences appear in the stdout section of the report (Execution -> Test Body -> Stdout). Consequently, I can see the escape sequences but not their formatting. Is there a way to replicate the same formatting (colors) in the Allure report as seen in the actual console output?

Contributor guide
Research direction
Start with the linked discussion and reproduce the issue in an Allure report under Execution → Test Body → Stdout. Trace how raw ANSI output from the Python integration reaches that report section; done means ANSI escape sequences are rendered with their console formatting instead of appearing literally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100