aj-geddes avatar

Mobile App Testing

This covers the full testing stack for mobile apps: unit tests with Jest, UI automation with Detox for React Native, XCTest for iOS, Espresso for Android, plus performance and integration testing. You get practical examples of testing components, business logic, and critical user flows. The best practices are sensible: mock your APIs, test on real devices, keep tests isolated, aim for 80% coverage. What I appreciate here is the emphasis on both success and failure paths, which too many teams skip. The reference guides break out platform-specific approaches, so you're not stuck translating iOS patterns to Android or vice versa. Solid foundation if you're setting up CI or finally tackling that untested legacy app.

skills.sh installs
831
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill mobile-app-testing --agent claude-code

Installs into .claude/skills of the current project.

Files

Mobile App Testing

Table of Contents

Overview

Implement comprehensive testing strategies for mobile applications including unit tests, UI tests, integration tests, and performance testing.

When to Use

  • Creating reliable mobile applications with test coverage
  • Automating UI testing across iOS and Android
  • Performance testing and optimization
  • Integration testing with backend services
  • Regression testing before releases

Quick Start

Minimal working example:

// Unit test with Jest
import { calculate } from "../utils/math";

describe("Math utilities", () => {
  test("should add two numbers", () => {
    expect(calculate.add(2, 3)).toBe(5);
  });

  test("should handle negative numbers", () => {
    expect(calculate.add(-2, 3)).toBe(1);
  });
});

// Component unit test
import React from "react";
import { render, screen } from "@testing-library/react-native";
import { UserProfile } from "../components/UserProfile";

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Testing & QA, AI & Agent Building, Debugging, Automation & Workflows, Mobile Development
First seen
May 16, 2026

More from aj-geddes/useful-ai-prompts

All 258
1mindrally avatarplaywright-cursor-rulesmindrally/skillsExpert guidance for Playwright end-to-end testing with TypeScript and JavaScript best practices720skills.sh installs
2bobmatnyc avatarcypressbobmatnyc/claude-mpm-skillsCypress end-to-end and component testing patterns for web apps: reliable selectors, stable waits, network stubbing, auth handling, CI parallelization, and flake664skills.sh installs
3aj-geddes avataraccessibility-testingaj-geddes/useful-ai-promptsTest web applications for WCAG compliance and ensure usability for users with disabilities. Use for accessibility test, a11y, axe, ARIA, keyboard navigation, sc580skills.sh installs
4aaronontheweb avataraspire-integration-testingaaronontheweb/dotnet-skillsWrite integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns522skills.sh installs
5aj-geddes avatartest-data-generationaj-geddes/useful-ai-promptsGenerate realistic, consistent test data using factories, fixtures, and fake data libraries. Use for test data, fixtures, mock data, faker, test builders, and s502skills.sh installs
6garrytan avatarqagarrytan/gstackSystematically QA test a web application and fix bugs found. (gstack)486skills.sh installs