allure-framework / allure-framework/allure-python

ansi escape sequences formatting

オープン
#806 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
task:improvement theme:pytest theme:pytest-bdd
主要言語
Python
スター
814
フォーク
260
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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?
![raw_ansi_escapes](https://github.com/allure-framework/allure2/assets/85802951/50047c29-0a7a-4fa7-add2-5c80501a8d61)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされたディスカッションから始め、Execution → Test Body → Stdout にある Allure レポートで問題を再現してください。Python 統合からの生の ANSI 出力がそのレポートセクションに到達するまでの経路を追跡してください。完了の条件は、ANSI エスケープシーケンスが文字どおり表示されるのではなく、コンソールの書式でレンダリングされることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
testing-qa
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。