Codeception / Codeception/module-rest

REST module prints complete response ("body" report)

未关闭
#43 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
60
派生
30
平均合并
22 小时 37 分钟
30 天内合并 PR
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 摘要。