Codeception / Codeception/module-rest
Add parameter to not log Response during executing REST requests
未關閉
- 主要語言
- PHP
- 星號
- 60
- 分支
- 30
- 平均合併
- 22 小時 37 分鐘
- 30 天內合併 PR
- 1
描述
REST requests (ex. `sendPOST`) always output response , through `execute` method: `$this->debugSection("Response", $printedResponse);`
However our tests do a lot of requests, and in return get whole body of web page, which pollutes log.
This is why I would like to add parameter, which suppresses printing whole response. If such contribution would be welcomed, I can provide pull request.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先閱讀 issue 中提到的 execute 方法和 sendPOST 請求路徑,重點關注如何到達 Response debugSection 呼叫。追蹤請求參數如何透過 REST 方法傳遞。完成的標準是,呼叫端可以抑制完整的 Response 輸出,同時請求繼續正常執行。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- php
- 領域
- api
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100