secondsky avatar

Mobile App Testing

This one gives you a solid testing foundation across the mobile stack: Jest for React Native units, XCTest for iOS, Espresso for Android, and Detox or Appium for end-to-end flows. It lays out the testing pyramid with specific coverage targets (70% unit, 20% integration, 10% E2E) and includes working examples for login flows across platforms. Use it when you're setting up test infrastructure from scratch or debugging flaky tests in device farms. The best practices section is actually practical: test business logic first, mock dependencies, don't test implementation details. It won't solve platform-specific quirks for you, but it gets the architecture right.

skills.sh installs
480
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill mobile-app-testing --agent claude-code

Installs into .claude/skills of the current project.

Files

Mobile App Testing

Implement comprehensive testing strategies for mobile applications.

Testing Pyramid

LevelToolsCoverage
UnitJest, XCTest, JUnit70%
IntegrationDetox, Espresso20%
E2EAppium, Detox10%

React Native (Jest + Detox)

// Unit test
describe('CartService', () => {
  it('calculates total correctly', () => {
    const cart = new CartService();
    cart.addItem({ price: 10, quantity: 2 });
    expect(cart.getTotal()).toBe(20);
  });
});

// E2E test (Detox)
describe('Login flow', () => {
  beforeEach(async () => {
    await device.reloadReactNative();
  });

  it('should login successfully', async () => {
    await element(by.id('email-input')).typeText('user@example.com');
    await element(by.id('password-input')).typeText('password123');
    await element(by.id('login-button')).tap();
    await expect(element(by.id('dashboard'))).toBeVisible();
  });
});

iOS (XCTest)

func testLoginSuccess() {
    let app = XCUIApplication()
    app.launch()

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Testing & QA, Debugging, Automation & Workflows, Cloud & Infrastructure, Mobile Development
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1oakoss avatarplaywrightoakoss/agent-skillsPlaywright browser automation API, web scraping, and tooling. Covers locator strategies, assertions, API testing, stealth mode, anti-bot bypass, authenticated s466skills.sh installs
2secondsky avatarmutation-testingsecondsky/claude-skillsValidate test effectiveness with mutation testing using Stryker (TypeScript/JavaScript with Vitest or bun test via @hughescr/stryker-bun-runner) and mutmut (Pyt456skills.sh installs
3mrgoonie avatarweb-testingmrgoonie/claudekit-skillsWeb testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile ges448skills.sh installs
4manutej avatarshell-testing-frameworkmanutej/luxor-claude-marketplaceShell script testing expertise using bash test framework patterns from unix-goto, covering test structure (arrange-act-assert), 4 test categories, assertion pat440skills.sh installs
5tldraw avatarwrite-e2e-teststldraw/tldrawWriting Playwright E2E tests for tldraw. Use when creating browser tests, testing UI interactions, or adding E2E coverage in apps/examples/e2e or apps/dotcom/cl436skills.sh installs
6tartinerlabs avatartestingtartinerlabs/skillsUse when writing tests, running tests, adding test coverage, or debugging test failures. Detects the language and its test runner (JS/TS, Python, Go, Rust) for 419skills.sh installs