capacitor-testing
Complete testing guide for Capacitor apps covering unit tests, integration tests, E2E tests, and native testing. Includes Jest, Vitest, Playwright, Appium, and native testing frameworks. Use this skill when users need to test their mobile apps.
By cap-go · 1,055 installs
npx skills add cap-go/capgo-skills --skill capacitor-testing
Source repository · Upstream listing
Testing Capacitor Applications
Comprehensive testing strategies for Capacitor mobile apps.
When to Use This Skill
User wants to add tests
User asks about testing strategies
User needs E2E testing
User wants to mock native plugins
User needs CI testing setup
Testing Pyramid
Unit Testing
Setup with Vitest
Mock Capacitor Plugins
Unit Test Examples
Testing Utilities
Component Testing
React Testing Library
Vue Test Utils
E2E Testing
Playwright for Web
Appium for Native
Detox for React Native Style Testing
Native Testing
iOS XCTest
Android JUnit
Android Instrumented Tests
Testing Best Practices
Test Organization
Mock Best Practices
CI Configuration
Resources
Vitest Documentation: https://vitest.dev
Playwright Documentation: https://playwright.dev
Testing Library: https://testing library.com
Appium Documentation: https://appium.io