Codeception / Codeception/module-rest
REST module prints complete response ("body" report)
Aperta
- Lingua principale
- PHP
- Stelle
- 60
- Fork
- 30
- Merge medio
- 22h 37m
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.