{"type":"rich","author_name":"KeithYokoma","provider_url":"https://hatena.blog","blog_url":"https://blog.keithyokoma.dev/","height":"190","image_url":null,"title":"Room \u306e Migration \u3092 Robolectric \u3067\u30c6\u30b9\u30c8\u3059\u308b","version":"1.0","width":"100%","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/KeithYokoma/","blog_title":"Infinito Nirone 7","published":"2026-05-19 15:12:26","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2F2026%2F05%2F19%2F151226\" title=\"Room \u306e Migration \u3092 Robolectric \u3067\u30c6\u30b9\u30c8\u3059\u308b - Infinito Nirone 7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.keithyokoma.dev/entry/2026/05/19/151226","categories":[],"description":"AndroidX Room \u306f\u30c6\u30b9\u30c8\u7528\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63d0\u4f9b\u3057\u3066\u3044\u3066\u3001MigrationTestHelper \u3092\u4f7f\u3046\u3068 Room Database \u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002 \u305f\u3060\u73fe\u72b6 MigrationTestHelper \u3092\u4f7f\u3063\u305f\u30c6\u30b9\u30c8\u306e\u4f8b\u306f\u3069\u308c\u3082 instrumented test \u3068\u306a\u3063\u3066\u3044\u3066\u3001\u7269\u7406\u3042\u308b\u3044\u306f\u4eee\u60f3\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u30c6\u30b9\u30c8\u3092\u52d5\u304b\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306fRobolectric \u3092\u3064\u304b\u3063\u3066\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u3092 JVM \u4e0a\u3067\u5b9f\u884c\u3059\u308b\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002 \u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6e96\u5099 Robolectric \u3067\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306b\u3042\u305f\u308a\u3001\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b9\u30ad\u30fc\u30de\u3092 \u2026"}