
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-codeInstalls into .claude/skills of the current project.
Files
Mobile App Testing
Implement comprehensive testing strategies for mobile applications.
Testing Pyramid
| Level | Tools | Coverage |
|---|---|---|
| Unit | Jest, XCTest, JUnit | 70% |
| Integration | Detox, Espresso | 20% |
| E2E | Appium, Detox | 10% |
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- Api Design Principles479
- Frontend Design479
- Threejs477
- Csrf Protection474
- Ml Model Training474
- Payment Gateway Integration469
- Test Quality Analysis469
- Api Reference Documentation465
- Tanstack Router461
- Systematic Debugging457
- Interaction Design456
- Mutation Testing456
- Api Error Handling455
- Internationalization I18n455
- Security Headers Configuration454
- Seo Optimizer453
- Sequential Thinking448
- Bun Sqlite442
- Websocket Implementation440
- Mobile App Debugging439
- Root Cause Tracing438
- App Store Deployment437
- Database Schema Design437
- Recommendation Engine437