Codeception / Codeception/module-rest
REST module prints complete response ("body" report)
Ouverte
- Langage dominant
- PHP
- Étoiles
- 60
- Forks
- 30
- Merge moyen
- 22 h 37 min
- PR mergées (30 j)
- 1
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.