Look at adding helpers for integration tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Ruby
- Stars
- 68
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/chatops-controller
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/chatops-controller#69 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
github/chatops-controller#58 · 4 comments · 1 reaction ·
All issues in github/chatops-controller
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100