Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计通过

testing-mobile-apps测试移动应用程序

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

915

周安装

37

GitHub Stars

2,072

下载量

287
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:testing-mobile-apps(测试移动应用程序)
来源仓库:https://github.com/jeremylongshore/claude-code-plugins-plus-skills
仓库路径:skills/testing-mobile-apps
安装命令:
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill testing-mobile-apps
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill testing-mobile-apps

简介

聚焦移动应用界面与交互逻辑的测试能力。

  • 适合响应式布局、手势操作、离线状态等场景。
  • 可生成跨平台测试用例或优化测试覆盖率。
  • 应结合设计稿与原型图确保功能一致性。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • testing-mobile-apps 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Mobile App Tester

Overview

Execute automated mobile application testing on iOS simulators and Android emulators covering UI interactions, navigation flows, gesture handling, and platform-specific behaviors. Supports Appium, Detox (React Native), XCUITest (iOS native), Espresso (Android native), and Maestro for cross-platform mobile testing.

Prerequisites

  • Mobile testing framework installed (Appium, Detox, Maestro, or native XCUITest/Espresso)
  • iOS Simulator via Xcode (macOS only) or Android Emulator via Android SDK
  • Application build artifact (.app, .apk, or .ipa) or bundled dev server (React Native)
  • Appium drivers installed (uiautomator2 for Android, xcuitest for iOS) if using Appium
  • Node.js for JavaScript-based test runners

Instructions

  1. Configure the test environment:

- List target devices/simulators: specify OS versions, screen sizes, and orientations. - Build the application for testing (xcodebuild, ./gradlew assembleDebug, or npx react-native build). - Start the emulator/simulator or connect physical devices. - Install the app on the target device.

  1. Create test cases for core mobile interactions:

- Tap and navigation: Tap buttons, navigate between screens, verify back navigation. - Text input: Fill forms, verify keyboard behavior, test autocomplete and paste. - Scrolling: Scroll lists, verify lazy loading, test pull-to-refresh. - Gestures: Swipe (carousel), pinch-to-zoom, long press, drag-and-drop. - System interactions: Handle permission dialogs, push notifications, deep links.

  1. Test platform-specific behaviors:

- iOS: Safe area insets, notch handling, Dynamic Type, VoiceOver accessibility. - Android: Back button behavior, multi-window, different navigation patterns, TalkBack. - Both: Screen rotation (portrait/landscape), dark mode, low battery mode.

  1. Implement device-specific test configurations:

- Define capability sets for each device/OS combination. - Use test tagging to run subsets on specific platforms (@ios, @android). - Configure screenshot capture on failure for visual debugging.

  1. Handle asynchronous mobile behaviors:

- Wait for animations to complete before assertions. - Handle network loading spinners with explicit waits. - Account for system dialogs (permissions, updates) that interrupt test flow.

  1. Run the test suite and capture results:

- Execute tests per platform: npx detox test --configuration ios.sim.debug. - Collect device logs, screenshots, and crash reports. - Generate JUnit XML or Allure reports for CI integration.

  1. Set up CI pipeline for mobile testing (GitHub Actions macOS runners for iOS, Linux for Android).

Output

  • Mobile test files organized by feature/flow in tests/mobile/ or e2e/
  • Device configuration profiles for each target device/OS combination
  • Screenshot captures for visual validation and failure debugging
  • Test results in JUnit XML format with device-specific metadata
  • CI pipeline configuration for automated mobile test execution

Error Handling

ErrorCauseSolution
Simulator/emulator fails to bootInsufficient disk space or corrupted simulator imageDelete derived data and reset simulator; increase disk allocation; recreate the emulator AVD
App crashes on launch during testMissing permissions or incompatible OS versionCheck minimum deployment target; grant required permissions in test setup; verify app signing
Element not foundElement ID changed or screen did not finish loadingUse accessibility IDs instead of XPath; add explicit waits; verify element visibility before interaction
Test flaky on CI but passes locallyCI runner has slower CPU/GPU affecting animations and timingIncrease wait timeouts for CI; disable animations in developer settings; use dedicated CI hardware
Permission dialog blocks testSystem alert appeared over the app UIAuto-dismiss alerts in test setup; pre-grant permissions via xcrun simctl or ADB commands

Examples

Detox test for React Native login flow:

describe('Login Flow', () => {
  beforeAll(async () => { await device.launchApp(); });
  beforeEach(async () => { await device.reloadReactNative(); });

  it('logs in with valid credentials', async () => {
    await element(by.id('email-input')).typeText('user@test.com');
    await element(by.id('password-input')).typeText('password123');
    await element(by.id('login-button')).tap();
    await expect(element(by.id('home-screen'))).toBeVisible();
  });
});

Maestro flow file:

appId: com.example.myapp
---
- launchApp
- tapOn: "Sign In"
- inputText:
    id: "email-input"
    text: "user@test.com"
- inputText:
    id: "password-input"
    text: "password123"
- tapOn: "Submit"
- assertVisible: "Welcome"

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Cursor

28.58%
按下载量换算82

Antigravity

23.64%
按下载量换算68

kilo

17.27%
按下载量换算50

windsurf

11.76%
按下载量换算34

zencoder

8.46%
按下载量换算24

cline

3.65%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills