Replace Mocks with Fakes in tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the tests that use Mockito and the issue discussion, then identify the main concepts of the Zold Java API that need fake implementations. Done means replacing the relevant mocks with readable fakes and providing secondary implementations, but the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
There is a lot of use of Mockito in the tests, it makes it very hard to read and a pain to write.
Using Fakes (see https://www.yegor256.com/2014/09/23/built-in-fake-objects.html) instead would improve the quality of the tests as well as provide a secondary implementation of the main concepts of the Zold java-api, which can only be good for the project.
- Dominant language
- Java
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 zold-io/java-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug pdd
Difficulty 2/5 Under an hour Newbie friendliness 72/100
-
bug pdd
Difficulty 2/5 Under an hour Newbie friendliness 68/100
All issues in zold-io/java-api
Similar issues
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/rocketmq-dashboard#5064 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
wso2/dpdp-accelerator#287 ·