android / android/nowinandroid
Use of `UnconfinedTestDispatcher` is discouraged
Open
- Dominant language
- Kotlin
- Stars
- 21.8k
- Forks
- 4.6k
- Avg merge
- 19h 20m
- Merged PRs (30d)
- 2
Description
Investigate use of `UnconfinedTestDispatcher` in tests as in most cases it can be replaced with `advanceUntilIdle()` which gives tighter control over job execution.
Contributor guide
Research direction
Search the repository's tests for uses of UnconfinedTestDispatcher and inspect each test's coroutine execution needs. Replace cases where advanceUntilIdle() provides tighter control, then run the affected tests and confirm they remain reliable and passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev, testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100