robotframework / robotframework/robotframework
ANSI Escapes Converted to HTML Properties in Report
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.9k
- Forks
- 2.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 10
Description
Would there be any interest in adding a built-in mechanism to automatically translate ANSI color codes into HTML/CSS styling in report files? (for example, via a new ansi=True argument to logger)?
Currently, capturing CLI outputs (like Ansible or Docker) clutters reports with raw escape codes unless they are stripped or parsed externally. I'm happy to implement this via a pull request, but wanted to check if this fits within the project's scope before writing the code.
Regards
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the logger entry point and report generation path for captured CLI output, including the proposed ansi=True argument. Compare how ANSI escapes currently appear in report files and define the supported HTML/CSS translation behavior. Done means the built-in mechanism is scoped, implemented, and verified for representative Ansible or Docker output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, python
- Domain
- testing, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100