Agent skill · software engineering · affaan-m

quarkus-tdd

JUnit 5、Mockito、REST Assured、Camelテスト、JaCoCoを使用したQuarkus 3.xのテスト駆動開発。機能追加、バグ修正、またはイベント駆動サービスのリファクタリング時に使用。

Why this skill is useful

Provides specific testing patterns and practices for Quarkus 3.x that the AI wouldn't reliably generate on its own.

What it needs

Requires camel, jacoco, junit, mockito, quarkus, rest-assured installed locally. About 4k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.

What this skill does

Quarkus TDD Workflow 80%以上のカバレッジ(ユニット+統合)を備えたQuarkus 3.xサービスのTDD指導。Apache Camelを使用したイベント駆動アーキテクチャに最適化。 When to Use 新機能またはRESTエンドポイント バグ修正またはリファクタリング データアクセスロジック、セキュリティルール、またはリアクティブストリーム追加 Apache Camelルートとイベントハンドラーテスト RabbitMQを使用したイベント駆動サービステスト 条件フローロジック検証 CompletableFuture非同期操作検証 LogContextプロパゲーション テスト Workflow 1. テストを先に書く(失敗するはず) 2. 最小限のコードで合格実装 3. テストが緑の状態でリファクタリング 4. JaCoCoでカバレッジ実装(80%以上を目標) Unit Tests with @Nested Organization 包括的で読みやすいテストのため、以下の構造化されたアプローチに従います: Key Testing Patterns 1. @Nested クラス: テストするメソッド別にテストをグループ化 2. @DisplayName: テストレポート用の読みやすい説明提供 3. 命名規則: 明確性のため givenXwhenYthenZ 4. AAA パターン: 明示的な // ARRANGE, // ACT, // ASSERT コメント 5. @BeforeEach: 重複削減のためテストデータを共通設定 6. assertDoesNotThrow: 例外をキャッチせずに成功シナリオをテスト 7. assertThrows: AssertJを使用したメッセージ検証で例外シナリオをテスト 8. 包括的カバレッジ: 正常系、null入力、エッジケース、例外をテスト 9. 相互作用検証: Mockito verify() でメソッド呼び出しが正しく行われたか確認 10. Never検証: never() でエラーシナリオでメソッドが呼ばれていないことを確認 Testing Camel Routes Testing Event Services Testing CompletableFuture Resource Layer Tests (REST Assured) Integration Tests with Real Database Coverage with JaCoCo Maven Configuration (Complete) カバレッジ付きテスト実行: `

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills affaan-m/quarkus-tdd--56b765

View the source on GitHub

Browse the @skills marketplace