Source

skydoves/android-testing-skills

54 skills · 2K combined installs

Skills from this source

#
Skill
Source
8W Activity
Installs
1
extracting-logs-with-logcat Use this skill to read device logs for test failures, debug, smoke testing, and CI repros. Covers `adb logcat` (strea…
skydoves/android-testing-skills
47
2
capturing-screenshots-and-screenrecord Use this skill to capture visual artefacts from a device for test failures, golden image generation, QA repro, and de…
skydoves/android-testing-skills
42
3
running-instrumented-tests-via-adb Use this skill to run instrumented Android tests directly through `adb shell am instrument -w -r` without going throu…
skydoves/android-testing-skills
42
4
installing-and-managing-apps Use this skill to install, uninstall, list, inspect, and reset Android apps via `adb install` (with `-r` reinstall, `…
skydoves/android-testing-skills
41
5
injecting-input-and-state Use this skill to drive an Android device from the host shell — inject taps, swipes, text, key events, and drag-and-d…
skydoves/android-testing-skills
40
6
running-instrumented-tests-with-androidjunit4 Use this skill to stand up an Android instrumentation test source set with the canonical `AndroidJUnit4` runner, the …
skydoves/android-testing-skills
40
7
using-robolectric-correctly Use this skill to run Android-aware unit tests on the JVM with Robolectric — the right runner choice (AndroidJUnit4 v…
skydoves/android-testing-skills
40
8
applying-testing-strategies Use this skill to apply Android-team testing strategies — determinism, hermetic execution, Given-When-Then / Arrange-…
skydoves/android-testing-skills
39
9
capturing-preview-screenshots-in-ci Use this skill to render every Jetpack Compose `@Preview` as a screenshot on a real Android device or emulator and pu…
skydoves/android-testing-skills
39
10
connecting-over-wifi Use this skill to connect ADB to an Android 11+ device wirelessly with the modern `adb pair` flow (pairing code or QR…
skydoves/android-testing-skills
39
11
connecting-to-devices Use this skill to attach a USB device or emulator to ADB, list transports with `adb devices` / `adb devices -l`, disa…
skydoves/android-testing-skills
39
12
extracting-test-artifacts Use this skill to move files between host and device with `adb pull` and `adb push`, including the modern `-z` (compr…
skydoves/android-testing-skills
39
13
launching-fragments-with-fragmentscenario Use this skill to test a `Fragment` in isolation using `FragmentScenario`, `launchFragmentInContainer<F>()`, and `lau…
skydoves/android-testing-skills
39
14
mocking-with-mockito Use this skill to wire Mockito (the dominant Android mocking framework, exclusively used by androidx itself) into a J…
skydoves/android-testing-skills
39
15
scripting-adb-for-ci Use this skill to wire `adb` reliably into CI — bash idioms, exit codes, parallel device fan-out with `xargs -P`, por…
skydoves/android-testing-skills
39
16
testing-coroutines-with-runtest Use this skill to test suspend functions and coroutine-using classes on the JVM with kotlinx-coroutines-test. Covers …
skydoves/android-testing-skills
39
17
auditing-compose-test-suite Use this skill to perform an end-to-end review of an existing Jetpack Compose UI test file or test suite. Sequences s…
skydoves/android-testing-skills
38
18
configuring-junit4-on-android Use this skill to stand up a JUnit4-based JVM unit-test suite on an Android module. Covers the canonical Gradle depen…
skydoves/android-testing-skills
38
19
enabling-accessibility-checks Use this skill to enable Espresso's `AccessibilityValidator` against the Compose semantics tree via `enableAccessibil…
skydoves/android-testing-skills
38
20
finding-nodes-by-tag-text-content Use this skill to locate Compose semantics nodes from a UI test using `onNodeWithTag`, `onNodeWithText`, `onNodeWithC…
skydoves/android-testing-skills
38
21
injecting-touch-gestures Use this skill to drive Jetpack Compose UI with synthetic touch events through performTouchInput and the TouchInjecti…
skydoves/android-testing-skills
38
22
migrating-from-android-test-classes Use this skill to migrate a codebase off the deprecated `android.test.*` testing classes that ship in the Android pla…
skydoves/android-testing-skills
38
23
mocking-with-mockk Use this skill to wire MockK (the Kotlin-first mocking framework) into a JVM unit-test suite, especially when corouti…
skydoves/android-testing-skills
38
24
running-tests-on-gradle-managed-devices Use this skill to run instrumented Android tests on Gradle Managed Devices (GMD) — emulators that Gradle provisions, …
skydoves/android-testing-skills
38
25
setting-up-host-vs-device-tests Use this skill to choose between host (Robolectric/JVM) and device (instrumentation) tests for Jetpack Compose, and t…
skydoves/android-testing-skills
38
26
structuring-a-compose-test Use this skill to structure a Jetpack Compose UI test class the way androidx itself writes them — `@MediumTest` + `@R…
skydoves/android-testing-skills
38
27
synchronizing-with-idle Use this skill to choose the right idle-synchronization primitive in Compose UI tests — waitForIdle, awaitIdle, waitU…
skydoves/android-testing-skills
38
28
testing-flows-with-turbine Use this skill to assert Flow emissions in tests with Cash App Turbine. Covers flow.test entry, ReceiveTurbine API (a…
skydoves/android-testing-skills
38
29
asserting-node-state-and-text Use this skill to verify a Compose semantics node's properties from a UI test using `assertExists`, `assertDoesNotExi…
skydoves/android-testing-skills
37
30
choosing-what-to-test Use this skill to pick which behaviors to cover in an Android test suite using Google's five-category state vocabular…
skydoves/android-testing-skills
37
31
clicking-and-scrolling Use this skill to drive Jetpack Compose UI from tests with the high-level action APIs that do not go through a gestur…
skydoves/android-testing-skills
37
32
cross-app-tests-with-uiautomator Use this skill to drive cross-app and system-UI flows from instrumentation tests using UiAutomator 2.3.0 — `UiDevice`…
skydoves/android-testing-skills
37
33
developing-with-compose-previews Use this skill to make `@Preview` functions the primary feedback loop for Jetpack Compose UI work — preview-driven de…
skydoves/android-testing-skills
37
34
injecting-mouse-and-keyboard Use this skill to drive Jetpack Compose UI from tests with non-touch input — performMouseInput (click, rightClick, do…
skydoves/android-testing-skills
37
35
launching-activities-with-activityscenario Use this skill to launch, drive, and tear down an Activity from an instrumentation test using `ActivityScenario` and …
skydoves/android-testing-skills
37
36
organizing-test-source-sets Use this skill to organize Android test source sets — `src/test/`, `src/androidTest/`, the community `src/sharedTest/…
skydoves/android-testing-skills
37
37
picking-test-doubles Use this skill to pick the right test double — fake, mock, stub, spy, dummy, or Robolectric shadow — for an Android t…
skydoves/android-testing-skills
37
38
understanding-adb-architecture Use this skill to reason about the three-piece ADB topology (client CLI, host server on TCP 5037, on-device daemon `a…
skydoves/android-testing-skills
37
39
asserting-bounds-and-dimensions Use this skill to verify Compose layout measurements from a UI test using `assertWidthIsEqualTo`, `assertHeightIsEqua…
skydoves/android-testing-skills
36
40
composing-semantics-matchers Use this skill to build precise Compose UI test queries by composing `SemanticsMatcher` predicates with `infix and`, …
skydoves/android-testing-skills
36
41
configuring-test-dependencies Use this skill to wire the correct Gradle dependency matrix for Jetpack Compose UI tests. Covers `androidTestImplemen…
skydoves/android-testing-skills
36
42
controlling-the-test-clock Use this skill to drive the Compose test clock by hand with MainTestClock — currentTime, autoAdvance, advanceTimeByFr…
skydoves/android-testing-skills
36
43
entering-text Use this skill to drive Jetpack Compose text fields from tests with the text-specific actions — performTextInput (ins…
skydoves/android-testing-skills
36
44
printing-the-semantics-tree Use this skill to diagnose "no node matched", "found N nodes", and "useUnmergedTree" failures by dumping the actual s…
skydoves/android-testing-skills
36
45
understanding-the-testing-pyramid Use this skill to size an Android test suite using Google's small / medium / big scope vocabulary and the qualitative…
skydoves/android-testing-skills
36
46
writing-espresso-tests Use this skill to write Espresso 3.7.0 tests against Android Views — `onView(matcher).perform(action).check(matches(.…
skydoves/android-testing-skills
36
47
writing-tests-with-kotlin-test Use this skill to write tests with the `kotlin.test` library — the multiplatform assertion + annotation API that comp…
skydoves/android-testing-skills
36
48
testing-animations-deterministically Use this skill to write non-flaky Compose animation tests by setting mainClock.autoAdvance = false and stepping frame…
skydoves/android-testing-skills
35
49
testing-lazy-lists Use this skill to test `LazyColumn`, `LazyRow`, and `LazyVerticalGrid` correctly — tag the container with `Modifier.t…
skydoves/android-testing-skills
35
50
testing-with-espresso-interop Use this skill to mix Compose finders and Espresso `onView` in the same test — for Android `Dialog` windows, IME (sof…
skydoves/android-testing-skills
35
Page 1 · 54 total Next