Mobile Testing
React Native アプリをテストする
React Native チームには、コンポーネント、hooks、ユーティリティ、フォーム向けの高速で信頼性の高いテストが必要です。このスキルは、セットアップ、モック、非同期テスト、失敗時のデバッグのための Jest と React Native Testing Library のパターンを提供します。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "Mobile Testing" from https://skillstore.io/skills/babakbar-mobile-testing.md and its manifest at https://skillstore.io/api/skills/babakbar-mobile-testing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「Mobile Testing」を使用しています。 title と press handler props を持つボタンコンポーネント。
期待される結果:
title をレンダリングし、ボタンを押し、コールバックが 1 回呼び出されたことを検証するコンポーネントテスト計画。
「Mobile Testing」を使用しています。 email フィールドを見つけられないログインフォームテスト。
期待される結果:
テスト識別子、レンダリング出力の確認、モックの import 順序、非同期クエリの選択を含むデバッグチェックリスト。
「Mobile Testing」を使用しています。 Jest スクリプトがないモバイルアプリプロジェクト。
期待される結果:
必要なパッケージ、スクリプトの目的、カバレッジワークフロー、watch ワークフローを含むセットアップ計画。
セキュリティ監査
安全All 30 static findings are false positives. The external-command detections match Markdown formatting and local test commands, while the URLs are documentation links. No prompt injection, data exfiltration, or unsafe execution intent was found in SKILL.md.
リスク要因
⚙️ 外部コマンド (26)
🌐 ネットワークアクセス (2)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/babakbar-mobile-testing/audits/12?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/babakbar-mobile-testing?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/babakbar-mobile-testing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/babakbar-mobile-testing/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/babakbar-mobile-testing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
BabakBar. (2026). Mobile Testing security audit report (audit version 12) [Author version unspecified]. Skillstore. https://skillstore.io/skills/babakbar-mobile-testing/audits/12BibTeX形式の引用
@techreport{babakbar-babakbar-mobile-testing-2026,
author = {BabakBar},
title = {Mobile Testing security audit report (audit version 12)},
institution = {Skillstore},
year = {2026},
number = {12},
url = {https://skillstore.io/skills/babakbar-mobile-testing/audits/12},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "Mobile Testing security audit report (audit version 12)"
version: "unspecified"
type: report
authors:
- name: "BabakBar"
date-released: "2026-07-18"
url: "https://skillstore.io/skills/babakbar-mobile-testing/audits/12"
identifiers:
- type: other
value: "skillstore:babakbar-mobile-testing:audit:12"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
コンポーネントカバレッジを追加する
React Native 開発者が、ボタン、フォーム、リスト、読み込み状態向けに動作重視のテストを作成します。
テスト基盤を準備する
モバイル技術リードが、新しいプロジェクト向けに Jest スクリプト、依存関係、モック、カバレッジチェックをセットアップします。
失敗しているテストをデバッグする
QA 自動化エンジニアが、モバイルテストスイート内の非同期失敗、見つからない要素、不安定なモックを調査します。
これらのプロンプトを試す
このコンポーネントの React Native Testing Library テストを書いてください。表示される動作と press インタラクションに焦点を当ててください。
この hook とユーティリティモジュールの Jest テストを作成してください。通常ケース、エラーケース、エッジケースを含めてください。
Expo Router、通知、データベースクライアントのモックをセットアップしてください。各モックをどこに置くべきか説明してください。
これらの失敗している React Native テストをレビューしてください。非同期、モック、セレクターの問題を特定し、最小限の修正を提案してください。
ベストプラクティス
- 実装の詳細よりも先に、ユーザーに見える動作をテストします。
- テキストが変更される可能性がある場合は、安定したテスト識別子を使用します。
- 外部サービスをモックして、テストを高速かつ決定的に保ちます。
回避
- 表示される動作を確認できる場合は、コンポーネントの private state をアサートしないでください。
- 実際のネットワークサービスをユニットテストに混在させないでください。
- ユーザー向けの変更をレビューせずにスナップショットを更新しないでください。