SKILL

quarkus-tdd

Test-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo. Use when adding features, fixing bugs, or refactoring event-driven services.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Quarkus TDD Workflow
  • When to Use
  • Workflow
  • Unit Tests with @Nested Organization
  • Key Testing Patterns
  • Testing Camel Routes
  • Testing Event Services
  • Testing CompletableFuture

TDD guidance for Quarkus 3.x services with 80%+ coverage (unit + integration). Optimized for event-driven architectures with Apache Camel. New features or REST endpoints Bug fixes or refactors Adding data access logic, security rules, or reactive streams Testing Apache Camel routes and event handlers Testing event-driven services with RabbitMQ Testing conditional flow logic Validating CompletableFuture async operations Testing LogContext propagation 1. Write tests first (they should fail) 2. Implement minimal code to pass 3. Refactor with tests green 4. Enforce coverage with JaCoCo (80%+ target) Follow this structured approach for comprehensive, readable tests: 1. @Nested Classes: Group tests by method being tested 2. @DisplayName: Provide readable test descriptions for test reports 3. Naming Convention: givenXwhenYthenZ for clarity 4. AAA Pattern: Explicit // ARRANGE, // ACT, // ASSERT comments 5. @BeforeEach: Setup common test data to reduce duplication 6. assertDoesNotThrow: Test success scenarios without catching exceptions 7. assertThrows: Test exception scenarios with message validation using AssertJ 8. Comprehensive Coverage: Test happy paths, null inputs, edge cases, except

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
pi/core/skills/quarkus-tdd/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:43.220Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.