Show more information for bad mock() invocations
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the mock() handling that produces the message “getDefaultOptions() does not have an associated action - consider a niceMock()?”. Read nearby tests and error-reporting code to determine what invocation context is available. Done means the failure output includes useful context such as the class name and defined rules, with tests covering the expanded message.
Written by the indexing model from the issue text.
Description
Currently it shows:
getDefaultOptions() does not have an associated action - consider a niceMock()?
But it could include more information like the class name, rules that are defined, etc.
- Dominant language
- PHP
- Stars
- 45
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 elliotchance/concise
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
elliotchance/concise#353 · 8 comments · 1 reaction ·
-
unknown file/lineOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elliotchance/concise#351 · 3 comments ·
-
array equals diffOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elliotchance/concise#350 · 3 comments ·
-
Component: Core Size: 1 (Small) Type: Improvement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
elliotchance/concise#347 · 1 comment ·
-
Component: Core Size: 1 (Small) Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
elliotchance/concise#345 ·
All issues in elliotchance/concise
Similar issues
-
mobile-app
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Open-Locker/Open-Locker#352 ·
Maintainers usually reply within 1 day
-
[Bug]: SCIM Users groups[].value is returned as an integer, causing authentik user discovery to failOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
grokability/snipe-it#20006 ·
Maintainers usually reply within 1 day
-
fixed
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
firefly-iii/firefly-iii#13150 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
TYPO3-Solr/ext-solr#4828 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days