Automattic / Automattic/simplenote-android

Unit tests improvements

Open
#1,503 0 comments 1 reaction 0 assignees View on GitHub
[Type] Debt consistency task
Dominant language
Java
Stars
1.9k
Forks
318
Avg merge
15h 23m
Merged PRs (30d)
5

Description

A series of unit tests improvements to make:

- [ ] Add tests for `SimperiumTagsRepository`
- [ ] Use `Mockito` runner for the unit tests
- [ ] Remove warnings in bucket mocks (see `SimperiumCollaboratorsRepositoryTest`)
- [ ] Add proper tests for `collaboratorsChanged()` in `SimperiumCollaboratorsRepository`

Contributor guide

Open the contributing guide

Research direction

Locate the unit tests for SimperiumTagsRepository and SimperiumCollaboratorsRepository, including SimperiumCollaboratorsRepositoryTest, and read how bucket mocks are currently configured. Work through the checklist: add the missing repository and collaboratorsChanged() coverage, use the Mockito runner, and remove mock warnings; done means each listed test improvement is covered without warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.