{"id":1354,"date":"2025-05-26T17:49:23","date_gmt":"2025-05-26T08:49:23","guid":{"rendered":"https:\/\/itstudy365.com\/blog\/?p=1354"},"modified":"2025-05-26T17:55:27","modified_gmt":"2025-05-26T08:55:27","slug":"android-application-development-%e7%ac%ac26%e7%ab%a0%ef%bc%9aui%e3%83%86%e3%82%b9%e3%83%88%ef%bc%88espresso%ef%bc%89","status":"publish","type":"post","link":"https:\/\/itstudy365.com\/blog\/2025\/05\/26\/android-application-development-%e7%ac%ac26%e7%ab%a0%ef%bc%9aui%e3%83%86%e3%82%b9%e3%83%88%ef%bc%88espresso%ef%bc%89\/","title":{"rendered":"Android application development \u7b2c26\u7ae0\uff1aUI\u30c6\u30b9\u30c8\uff08Espresso\uff09"},"content":{"rendered":"\n<button id=\"bb1\" type=\"button\" value=\"Play\" class=\"responsivevoice-button\" title=\"ResponsiveVoice Tap to Start\/Stop Speech\"><span>&#128266; Play<\/span><\/button>\n        <script>\n            bb1.onclick = function(){\n                if(responsiveVoice.isPlaying()){\n                    responsiveVoice.cancel();\n                }else{\n                    responsiveVoice.speak(\"\u2615 Espresso\u3068\u306f\uff1f Espresso\uff08\u30a8\u30b9\u30d7\u30ec\u30c3\u30bd\uff09 \u306f\u3001Google \u304c\u63d0\u4f9b\u3059\u308b Android \u306e UI \u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af \u3067\u3059\u3002 Java \u306e\u5358\u4f53\u30c6\u30b9\u30c8\uff08JUnit\uff09\u3067\u306f\u753b\u9762\u306e\u64cd\u4f5c\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001Espresso \u3092\u4f7f\u3048\u3070\u5b9f\u969b\u306e\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3057\u3066\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u2026 \u30dc\u30bf\u30f3\u3092\u62bc\u3059 \u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3059\u308b \u5225\u306e\u753b\u9762\u306b\u9077\u79fb\u3059\u308b \u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30c6\u30ad\u30b9\u30c8\u3092\u78ba\u8a8d\u3059\u308b \u3068\u3044\u3063\u305f\u51e6\u7406\u3092 \u81ea\u52d5\u3067\u5b9f\u884c\u3057\u3066\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002 \ud83d\udd0d \u306a\u305c\u5fc5\u8981\u306a\u306e\u304b\uff1f \u753b\u9762\u3092\u30bf\u30c3\u30d7\u3057\u3066\u78ba\u8a8d\u3059\u308b\u624b\u52d5\u30c6\u30b9\u30c8\u306f\u2026 \u6642\u9593\u304c\u304b\u304b\u308b \u30df\u30b9\u304c\u8d77\u304d\u3084\u3059\u3044 \u30ea\u30d5\u30a1\u30af\u30bf\u3067\u58ca\u308c\u3066\u3082\u6c17\u3065\u3051\u306a\u3044 \u3068\u3044\u3046\u8ab2\u984c\u304c\u3042\u308a\u307e\u3059\u3002 Espresso \u306b\u3088\u308b UI \u30c6\u30b9\u30c8\u3092\u4f7f\u3048\u3070\u3001\u30a2\u30d7\u30ea\u306e\u753b\u9762\u9077\u79fb\u3084\u8868\u793a\u72b6\u614b\u3092\u30b3\u30fc\u30c9\u3067\u4fdd\u8a3c\u3067\u304d\u308b\u305f\u3081\u3001\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u958b\u767a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002 \u2699 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 build.gradle \u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff1a android { defaultConfig { testInstrumentationRunner \\\"androidx.test.runner.AndroidJUnitRunner\\\" } } dependencies { androidTestImplementation &#39;androidx.test.espresso:espresso-core:3.5.1&#39; androidTestImplementation &#39;androidx.test.ext:junit:1.1.5&#39; } UI\u30c6\u30b9\u30c8\u7528\u306e\u30b3\u30fc\u30c9\u306f src\/androidTest\/java\/ \u306b\u66f8\u304d\u307e\u3059\uff08test\/ \u3067\u306f\u306a\u304f\uff09\u3002 \ud83d\udc40 \u57fa\u672c\u69cb\u6587 Espresso \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6587\u3067\u64cd\u4f5c\u3057\u307e\u3059\uff1a onView(withId(R.id.button)) .perform(click()); onView(withId(R.id.textView)) .check(matches(withText(\\\"Hello\\\"))); \u8aad\u307f\u3084\u3059\u3044\u3088\u3046\u306b\u6574\u7406\u3059\u308b\u3068\uff1a \u51e6\u7406\u30e1\u30bd\u30c3\u30c9\u4f8b\u8aac\u660eUI\u8981\u7d20\u306e\u53d6\u5f97onView(withId(...))\u30dc\u30bf\u30f3\u3001\u30c6\u30ad\u30b9\u30c8\u306a\u3069\u306e\u8981\u7d20\u3092\u6307\u5b9a\u64cd\u4f5c.perform(...)\u30af\u30ea\u30c3\u30af\u3001\u5165\u529b\u306a\u3069\u306e\u64cd\u4f5c\u691c\u8a3c.check(...)\u8868\u793a\u5185\u5bb9\u3084\u72b6\u614b\u3092\u78ba\u8a8d \ud83e\uddea \u30b5\u30f3\u30d7\u30eb\uff1a\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u304c\u5909\u308f\u308b \u30c6\u30b9\u30c8\u5bfe\u8c61\u306eActivity\u306e\u30b3\u30fc\u30c9 public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button btn = findViewById(R.id.button); TextView txt = findViewById(R.id.textView); btn.setOnClickListener(v -greater than txt.setText(\\\"Hello Espresso!\\\")); } } Espresso\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9 @RunWith(AndroidJUnit4.class) public class MainActivityTest { @Rule public ActivityScenarioRuleless thanMainActivitygreater than rule = new ActivityScenarioRuleless thangreater than(MainActivity.class); @Test public void testButtonClick_changesTextView() { \/\/ \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af onView(withId(R.id.button)).perform(click()); \/\/ \u30c6\u30ad\u30b9\u30c8\u304c\u5909\u66f4\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d onView(withId(R.id.textView)) .check(matches(withText(\\\"Hello Espresso!\\\"))); } } \ud83d\udca1 \u3088\u304f\u4f7f\u3046\u64cd\u4f5c\u4f8b \u64cd\u4f5c\u30b3\u30fc\u30c9\u4f8b\u30dc\u30bf\u30f3\u3092\u62bc\u3059perform(click())\u30c6\u30ad\u30b9\u30c8\u5165\u529bperform(typeText(\\\"Hello\\\"))\u30bd\u30d5\u30c8\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u9589\u3058\u308bperform(closeSoftKeyboard())\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8dcheck(matches(isDisplayed())) \u26a0 Java\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u6ce8\u610f\u70b9 JUnit\u3068\u306f\u5225\u306e\u30e9\u30f3\u30ca\u30fc\uff08InstrumentationRunner\uff09\u3067\u52d5\u304d\u307e\u3059\u3002 UI \u3092\u5b9f\u969b\u306b\u64cd\u4f5c\u3059\u308b\u305f\u3081\u3001\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3084\u5b9f\u6a5f\u304c\u5fc5\u8981\u3067\u3059\u3002 Android Studio \u306e androidTest \u30bf\u30d6\u304b\u3089\u5b9f\u884c\u3057\u307e\u3059\u3002 \u30c6\u30b9\u30c8\u306f Activity \u8d77\u52d5\u5f8c\u306b\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001UI\u306e\u6e96\u5099\u304c\u6574\u3046\u307e\u3067\u5f85\u6a5f\u51e6\u7406\u304c\u81ea\u52d5\u3067\u5165\u308b\u306e\u304c Espresso \u306e\u5f37\u307f\uff08Wait\u4e0d\u8981\uff09\u3002 \u2705 \u307e\u3068\u3081 \u9805\u76ee\u5185\u5bb9\u5bfe\u8c61\u753b\u9762\u64cd\u4f5c\u3001UI\u8868\u793a\u78ba\u8a8d\u306a\u3069\u30c4\u30fc\u30ebEspresso\uff08Google\u88fd\uff09\u8a18\u8ff0\u5834\u6240src\/androidTest\/java\/\u5b9f\u884c\u65b9\u6cd5Android Studio or CLI \u304b\u3089\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\/\u5b9f\u6a5f\u3067\u5b9f\u884c\u7279\u5fb4\u5b9f\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u306b\u8fd1\u3044\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3002UI\u306e\u72b6\u614b\u306b\u8ce2\u304f\u540c\u671f\u3057\u3066\u304f\u308c\u308b\u3002 \ud83d\udcac \u88dc\u8db3 \u753b\u9762\u9077\u79fb\u306e\u30c6\u30b9\u30c8\uff08Intent\u306e\u767a\u884c\u78ba\u8a8d\uff09\u306b\u306f Intents \u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u4f7f\u3048\u307e\u3059\u3002 MVVM\u69cb\u6210\u3067\u306f ViewModel \u3092\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3057\u3001UI\u30ec\u30a4\u30e4\u30fc\u3060\u3051 Espresso \u3067\u30c6\u30b9\u30c8\u3059\u308b\u5206\u62c5\u304c\u7406\u60f3\u3067\u3059\u3002\", \"Japanese Female\");\n                }\n            };\n        <\/script>\n    <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u2615 Espresso\u3068\u306f\uff1f<\/h2>\n\n\n\n<p><strong>Espresso\uff08\u30a8\u30b9\u30d7\u30ec\u30c3\u30bd\uff09<\/strong> \u306f\u3001Google \u304c\u63d0\u4f9b\u3059\u308b <strong>Android \u306e UI \u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/strong> \u3067\u3059\u3002<\/p>\n\n\n\n<p>Java \u306e\u5358\u4f53\u30c6\u30b9\u30c8\uff08JUnit\uff09\u3067\u306f\u753b\u9762\u306e\u64cd\u4f5c\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001<strong>Espresso \u3092\u4f7f\u3048\u3070\u5b9f\u969b\u306e\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3057\u3066\u30c6\u30b9\u30c8<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u2026<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<ul>\n<li>\u30dc\u30bf\u30f3\u3092\u62bc\u3059<\/li>\n\n\n\n<li>\u30c6\u30ad\u30b9\u30c8\u3092\u5165\u529b\u3059\u308b<\/li>\n\n\n\n<li>\u5225\u306e\u753b\u9762\u306b\u9077\u79fb\u3059\u308b<\/li>\n\n\n\n<li>\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30c6\u30ad\u30b9\u30c8\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u51e6\u7406\u3092 <strong>\u81ea\u52d5\u3067\u5b9f\u884c\u3057\u3066\u691c\u8a3c<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd0d \u306a\u305c\u5fc5\u8981\u306a\u306e\u304b\uff1f<\/h2>\n\n\n\n<p>\u753b\u9762\u3092\u30bf\u30c3\u30d7\u3057\u3066\u78ba\u8a8d\u3059\u308b\u624b\u52d5\u30c6\u30b9\u30c8\u306f\u2026<\/p>\n\n\n\n<ul>\n<li>\u6642\u9593\u304c\u304b\u304b\u308b<\/li>\n\n\n\n<li>\u30df\u30b9\u304c\u8d77\u304d\u3084\u3059\u3044<\/li>\n\n\n\n<li>\u30ea\u30d5\u30a1\u30af\u30bf\u3067\u58ca\u308c\u3066\u3082\u6c17\u3065\u3051\u306a\u3044<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u8ab2\u984c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Espresso \u306b\u3088\u308b UI \u30c6\u30b9\u30c8\u3092\u4f7f\u3048\u3070\u3001<strong>\u30a2\u30d7\u30ea\u306e\u753b\u9762\u9077\u79fb\u3084\u8868\u793a\u72b6\u614b\u3092\u30b3\u30fc\u30c9\u3067\u4fdd\u8a3c<\/strong>\u3067\u304d\u308b\u305f\u3081\u3001\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u958b\u767a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2699 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n\n\n\n<p><code>build.gradle<\/code> \u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-scss\" data-lang=\"SCSS\" data-show-lang=\"0\"><code>android {\n    defaultConfig {\n        testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;\n    }\n}\n\ndependencies {\n    androidTestImplementation &#39;androidx.test.espresso:espresso-core:3.5.1&#39;\n    androidTestImplementation &#39;androidx.test.ext:junit:1.1.5&#39;\n}<\/code><\/pre><\/div>\n\n\n\n<p>UI\u30c6\u30b9\u30c8\u7528\u306e\u30b3\u30fc\u30c9\u306f <code>src\/androidTest\/java\/<\/code> \u306b\u66f8\u304d\u307e\u3059\uff08<code>test\/<\/code> \u3067\u306f\u306a\u304f\uff09\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udc40 \u57fa\u672c\u69cb\u6587<\/h2>\n\n\n\n<p>Espresso \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6587\u3067\u64cd\u4f5c\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\" data-show-lang=\"0\"><code>onView(withId(R.id.button))\n    .perform(click());\n\nonView(withId(R.id.textView))\n    .check(matches(withText(&quot;Hello&quot;)));<\/code><\/pre><\/div>\n\n\n\n<p>\u8aad\u307f\u3084\u3059\u3044\u3088\u3046\u306b\u6574\u7406\u3059\u308b\u3068\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u51e6\u7406<\/th><th>\u30e1\u30bd\u30c3\u30c9\u4f8b<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>UI\u8981\u7d20\u306e\u53d6\u5f97<\/td><td><code>onView(withId(...))<\/code><\/td><td>\u30dc\u30bf\u30f3\u3001\u30c6\u30ad\u30b9\u30c8\u306a\u3069\u306e\u8981\u7d20\u3092\u6307\u5b9a<\/td><\/tr><tr><td>\u64cd\u4f5c<\/td><td><code>.perform(...)<\/code><\/td><td>\u30af\u30ea\u30c3\u30af\u3001\u5165\u529b\u306a\u3069\u306e\u64cd\u4f5c<\/td><\/tr><tr><td>\u691c\u8a3c<\/td><td><code>.check(...)<\/code><\/td><td>\u8868\u793a\u5185\u5bb9\u3084\u72b6\u614b\u3092\u78ba\u8a8d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\uddea \u30b5\u30f3\u30d7\u30eb\uff1a\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u304c\u5909\u308f\u308b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u5bfe\u8c61\u306eActivity\u306e\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\" data-show-lang=\"0\"><code>public class MainActivity extends AppCompatActivity {\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n\n        Button btn = findViewById(R.id.button);\n        TextView txt = findViewById(R.id.textView);\n\n        btn.setOnClickListener(v -&gt; txt.setText(&quot;Hello Espresso!&quot;));\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Espresso\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\" data-show-lang=\"0\"><code>@RunWith(AndroidJUnit4.class)\npublic class MainActivityTest {\n\n    @Rule\n    public ActivityScenarioRule&lt;MainActivity&gt; rule =\n        new ActivityScenarioRule&lt;&gt;(MainActivity.class);\n\n    @Test\n    public void testButtonClick_changesTextView() {\n        \/\/ \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\n        onView(withId(R.id.button)).perform(click());\n\n        \/\/ \u30c6\u30ad\u30b9\u30c8\u304c\u5909\u66f4\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\n        onView(withId(R.id.textView))\n            .check(matches(withText(&quot;Hello Espresso!&quot;)));\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udca1 \u3088\u304f\u4f7f\u3046\u64cd\u4f5c\u4f8b<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u64cd\u4f5c<\/th><th>\u30b3\u30fc\u30c9\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>\u30dc\u30bf\u30f3\u3092\u62bc\u3059<\/td><td><code>perform(click())<\/code><\/td><\/tr><tr><td>\u30c6\u30ad\u30b9\u30c8\u5165\u529b<\/td><td><code>perform(typeText(\"Hello\"))<\/code><\/td><\/tr><tr><td>\u30bd\u30d5\u30c8\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u9589\u3058\u308b<\/td><td><code>perform(closeSoftKeyboard())<\/code><\/td><\/tr><tr><td>\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/td><td><code>check(matches(isDisplayed()))<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u26a0 Java\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u6ce8\u610f\u70b9<\/h2>\n\n\n\n<ul>\n<li><strong>JUnit\u3068\u306f\u5225\u306e\u30e9\u30f3\u30ca\u30fc\uff08InstrumentationRunner\uff09\u3067\u52d5\u304d\u307e\u3059<\/strong>\u3002\n<ul>\n<li>UI \u3092\u5b9f\u969b\u306b\u64cd\u4f5c\u3059\u308b\u305f\u3081\u3001<strong>\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3084\u5b9f\u6a5f\u304c\u5fc5\u8981<\/strong>\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Android Studio \u306e <code>androidTest<\/code> \u30bf\u30d6\u304b\u3089\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30c6\u30b9\u30c8\u306f Activity \u8d77\u52d5\u5f8c\u306b\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001<strong>UI\u306e\u6e96\u5099\u304c\u6574\u3046\u307e\u3067\u5f85\u6a5f\u51e6\u7406\u304c\u81ea\u52d5\u3067\u5165\u308b<\/strong>\u306e\u304c Espresso \u306e\u5f37\u307f\uff08Wait\u4e0d\u8981\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u307e\u3068\u3081<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee<\/th><th>\u5185\u5bb9<\/th><\/tr><\/thead><tbody><tr><td>\u5bfe\u8c61<\/td><td>\u753b\u9762\u64cd\u4f5c\u3001UI\u8868\u793a\u78ba\u8a8d\u306a\u3069<\/td><\/tr><tr><td>\u30c4\u30fc\u30eb<\/td><td>Espresso\uff08Google\u88fd\uff09<\/td><\/tr><tr><td>\u8a18\u8ff0\u5834\u6240<\/td><td><code>src\/androidTest\/java\/<\/code><\/td><\/tr><tr><td>\u5b9f\u884c\u65b9\u6cd5<\/td><td>Android Studio or CLI \u304b\u3089\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\/\u5b9f\u6a5f\u3067\u5b9f\u884c<\/td><\/tr><tr><td>\u7279\u5fb4<\/td><td>\u5b9f\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u306b\u8fd1\u3044\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3002UI\u306e\u72b6\u614b\u306b\u8ce2\u304f\u540c\u671f\u3057\u3066\u304f\u308c\u308b\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udcac \u88dc\u8db3<\/h2>\n\n\n\n<ul>\n<li>\u753b\u9762\u9077\u79fb\u306e\u30c6\u30b9\u30c8\uff08Intent\u306e\u767a\u884c\u78ba\u8a8d\uff09\u306b\u306f <code>Intents<\/code> \u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u4f7f\u3048\u307e\u3059\u3002<\/li>\n\n\n\n<li>MVVM\u69cb\u6210\u3067\u306f ViewModel \u3092\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3057\u3001<strong>UI\u30ec\u30a4\u30e4\u30fc\u3060\u3051 Espresso \u3067\u30c6\u30b9\u30c8<\/strong>\u3059\u308b\u5206\u62c5\u304c\u7406\u60f3\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[54],"_links":{"self":[{"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/posts\/1354"}],"collection":[{"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/comments?post=1354"}],"version-history":[{"count":2,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/posts\/1354\/revisions"}],"predecessor-version":[{"id":1358,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/posts\/1354\/revisions\/1358"}],"wp:attachment":[{"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/media?parent=1354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/categories?post=1354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itstudy365.com\/blog\/wp-json\/wp\/v2\/tags?post=1354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}