Use this skill to migrate a codebase off the deprecated `android.test.*` testing classes that ship in the Android platform SDK onto AndroidX Test. Covers `InstrumentationTestRunner` → `AndroidJUnitRunner`; `InstrumentationTestCase`/`AndroidTestCase` → `@RunWith(AndroidJUnit4)` + `InstrumentationRegistry`/`ApplicationProvider`; `ActivityInstrumentationTestCase2` → `ActivityScenario`/`ActivityScenarioRule` + Espresso; `ServiceTestCase`/`ProviderTestCase2` → `ServiceTestRule`/`ProviderTestRule`; `MoreAsserts` → Truth/Hamcrest; `ViewAsserts`/`TouchUtils` → Espresso matchers/actions; `android.test.UiThreadTest`/`FlakyTest`/`suitebuilder.annotation.*` → `androidx.test.*`; `android.test.mock.*` → real test contexts or Mockito; and JUnit3 `extends TestCase` → JUnit4 `@Test`. Use when the user sees `@Deprecated` on `android.test.*`, asks how to replace `ActivityInstrumentationTestCase2` / `InstrumentationTestCase` / `MoreAsserts` / `TouchUtils`, or "old Android tests won't run on AndroidJUnitRunner".
「コーディングとソフトウェア開発」の作業に使います。公開者の説明: Use this skill to migrate a codebase off the deprecated `android.test.*` testing classes that ship in the Android platform SDK onto AndroidX Test.
リクエスト例
“このプロジェクトのバグを見つけて修正して。”
エージェント
Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。
信頼できますか?
GitHub スター 353 · Apache-2.0。インストール前にソースを確認してください。
利用状況
過去 30 日間、サイトとエージェントでの利用。
0件のマイリストに登録
0回表示
0回コマンドをコピー
0回サイトからダウンロード
0回アプリからインストール
0回エージェントが自分でインストール
0人のアクティブユーザー
実利用スコアには ANG アプリから 20 人以上のユーザーと 50 件以上のタスクが必要です。現在 0 人、0 件。それまでは強さのスコアを掲載データから推定します。