github / github/chatops-controller

Look at adding helpers for integration tests

未關閉
#52 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Ruby
星號
68
分支
9
PR 合併指標
30 天內沒有已合併 PR

描述

As of recent versions of Rails, they've begun discouraging the use of `ActionController::TestCase` for new tests and encouraging the use of integration tests based around `ActionDispatch::IntegrationTest`. The helpers in this gem are still based around the previous style; we may need to look at implementing a second set of helpers to enable the use of integration tests.

See: https://api.rubyonrails.org/classes/ActionController/TestCase.html

貢獻指南

開啟貢獻指南

研究方向

Start by reading the linked ActionController::TestCase documentation and comparing it with ActionDispatch::IntegrationTest. Then inspect the gem's existing test helpers to determine what a second integration-test-oriented helper set would need to support; done means the required scope and behavior are defined and implemented with coverage for integration tests.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rails, ruby
領域
testing
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。