スキル一覧に戻る
redpanda-data

testing

by redpanda-data

testingは、ソフトウェア開発を効率化するスキルです。開発ワークフロー全体をサポートし、チームの生産性向上とコード品質の改善を実現します。

4,220🍴 409📅 2026年1月23日
GitHubで見るManusで実行

ユースケース

コード生成の効率化

ボイラープレートコードを自動生成し、開発時間を短縮。

🔍

コードレビュー支援

PRのコード変更を分析し、改善点を提案。

🔧

リファクタリング提案

コードの品質向上のためのリファクタリング案を提示。

SKILL.md


name: testing description: Write and maintain tests with Vitest v4 dual configuration, mock utilities, and Zustand store testing patterns.

Testing

Write reliable tests with Vitest v4 dual configuration.

Activation Conditions

  • Writing or modifying tests
  • Debugging test failures
  • Setting up mocks
  • Questions about test configuration

Quick Reference

ActionRule
Choose test typetest-unit-vs-integration.md
Mock modulestest-mock-patterns.md
Test storestest-zustand-stores.md
Mock Connect APIsmock-transport.md
Skip UI rendering testsno-ui-rendering-tests.md

Commands

bun run test              # All tests (CI default)
bun run test:ci           # Sequential for CI
bun run test:unit         # Unit tests only
bun run test:integration  # Integration tests only
bun run test:ui           # Interactive UI
bun run test:watch        # Watch mode
bun run test:coverage     # Coverage report

Key Points

  • .test.ts = unit (Node.js), .test.tsx = integration (JSDOM)
  • Always use test-utils/test-utils.tsx for React component tests
  • Test that features are fully wired: UI elements must connect to actual functionality

Feature Completeness Testing

When implementing interactive features (buttons, forms, etc.):

  • Verify event handlers call the correct functions with proper parameters
  • Test that AbortSignals, callbacks, and other "plumbing" are passed through
  • Don't assume UI presence means functionality works - test the connection

When to Use This Skill

  • Writing .test.ts or .test.tsx files
  • Mocking modules, stores, or transports
  • Component behavior tests

NOT for: Multi-page user workflows → use e2e-tester

Rules

See rules/ directory for detailed guidance.

スコア

総合スコア

80/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 1000以上

+15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です