android / android/nowinandroid

[Testing FR] [core:database] Room migration tests

Open
#1,346 0 comments 0 reactions 0 assignees View on GitHub
p2 testing
Dominant language
Kotlin
Stars
21.8k
Forks
4.6k
Avg merge
19h 20m
Merged PRs (30d)
2

Description

We should have instrumented tests for `DatabaseMigrations`

See https://developer.android.com/training/data-storage/room/migrating-db-versions#single-migration-test

Contributor guide

Open the contributing guide

Research direction

Locate DatabaseMigrations in the project and read the linked Android Room migration testing guidance first. Add instrumented coverage for the defined database migrations, then run the relevant Android instrumented test suite and confirm the migrations pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
databases, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.