facebook / facebook/TestSlide

Multi line exception message hidden by Python unittest runner

オープン
#101 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Better Error Messages enhancement Python Unittest
主要言語
Python
スター
149
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

TestSlide exceptions often have a multi-line message. While TestSlide properly shows them in full, Python unittest test runner seem to swallow all but the first exception line. This makes it difficult for users to understand why things fail.

This can potentially be fixed by detecting when **not** running with TestSlide test runner (or when running with Python unttest test runner) and change all exceptions to be single line.

CC @pallotron

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

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

評価

この issue はまだ評価されていません。

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

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