本文へスキップ
Skillpedia
テスト11k · #11651

testing-strategy

できること

このスキルは、チームがどうソフトウェアをテストすべきかを、何を対象にし、どの種類のテストを書くかまで含めて計画します。無駄なく信頼できるテストがほしい開発者やQAリーダー向けです。

使う場面

  • ✓プロジェクトにどんなテストが必要か決め、どこに力を入れるかを決める必要があるとき。
  • ✓チームが新しいAPI、データパイプライン、フロントエンドをどうテストすべきか尋ねたとき。
  • ✓カバレッジの目標と例となるテストケースを含むテスト計画がほしいとき。

スキルのリンク

https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/testing-strategy/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/testing-strategy/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私たちの新しい決済APIのテスト戦略を、テストの種類とカバレッジの目標を含めて作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはテストのピラミッドを使います。多くの速い単体テストを基盤にし、統合テストを少し加え、エンドツーエンドのテストは少数にします。コンポーネントの種類に合わせてアプローチを決め、例を含むテスト計画を書きます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Testing Strategy

Design effective testing strategies balancing coverage, speed, and maintenance.

Testing Pyramid

        /  E2E  \         Few, slow, high confidence
       / Integration \     Some, medium speed
      /    Unit Tests  \   Many, fast, focused

Strategy by Component Type

  • API endpoints: Unit tests for business logic, integration tests for HTTP layer, contract tests for consumers
  • Data pipelines: Input validation, transformation correctness, idempotency tests
  • Frontend: Component tests, interaction tests, visual regression, accessibility
  • Infrastructure: Smoke tests, chaos engineering, load tests

What to Cover

Focus on: business-critical paths, error handling, edge cases, security boundaries, data integrity.

Skip: trivial getters/setters, framework code, one-off scripts.

Output

Produce a test plan with: what to test, test type for each area, coverage targets, and example test cases. Identify gaps in existing coverage.

よくある質問

テストのピラミッドとは何ですか?

テストのバランスの取り方で、基盤に多くの速い単体テスト、中ほどに統合テスト、頂点に少数の遅いエンドツーエンドテストを置きます。

テストしてはいけないものは?

単純なゲッターやセッター、フレームワークのコード、一度きりのスクリプトです。

既存のテストの抜けも見つけられますか?

はい。既存のカバレッジの抜けを見つけます。

詳細

作者による元の説明

Design test strategies and test plans. Trigger with "how should we test", "test strategy for", "write tests for", "test plan", "what tests do we need", or when the user needs help with testing approaches, coverage, or test architecture.

repo: TencentCloud/Octop

人気

GitHubのスター
11k
ランキング
#11651
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル