Codeception / Codeception/module-rest

REST module prints complete response ("body" report)

オープン
#43 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
60
フォーク
30
平均マージ
22時間 37分
マージ済み PR(30日)
1

説明

Method `\Codeception\Module\REST::_failed` should take into account `shortDebugResponse` setting before adding "body" report. Otherwise test output becomes quite unreadable (in case of long responses) even if `shortDebugResponse` was set to true. Or maybe better create new setting for shortening "body" report (something like `shortResponseBody: true`). Another solution could be making `\Codeception\Test\Metadata::$reports` field write-accessible, to allow shortening it in `\Codeception\Module::_failed` hook

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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