affaan-m avatar

Quarkus Tdd

Solid TDD workflow for Quarkus 3.x with the testing stack already wired up: JUnit 5, Mockito, REST Assured, and JaCoCo coverage enforcement at 80%. The skill pushes you through red-green-refactor cycles with nested test organization and the AAA pattern. It shines when you're building event-driven services with Apache Camel routes and RabbitMQ, giving you concrete patterns for mocking endpoints and validating message flows. The examples show proper test structure with given-when-then naming and DisplayName annotations, plus all the verify and never patterns you need to catch interaction bugs. Use this when you want enforced discipline around test coverage and aren't just writing tests as an afterthought.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill quarkus-tdd --agent claude-code

Installs into .claude/skills of the current project.

Files

Quarkus TDD Workflow

TDD guidance for Quarkus 3.x services with 80%+ coverage (unit + integration). Optimized for event-driven architectures with Apache Camel.

When to Use

  • 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

Workflow

  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)

Unit Tests with @Nested Organization

Follow this structured approach for comprehensive, readable tests:

@ExtendWith(MockitoExtension.class)
@DisplayName("OrderService Unit Tests")
class OrderServiceTest {

  @Mock
  private OrderRepository orderRepository;

  @Mock
  private EventService eventService;

  @Mock
  private FulfillmentPublisher fulfillmentPublisher;

  @InjectMocks
  private OrderService orderService;

  private CreateOrderCommand validCommand;

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Backend & APIs, Testing & QA, Code Review & Quality, Java & JVM
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avataruncloudaffaan-m/eccUse when managing an Uncloud cluster — deploying services, configuring Caddy ingress, adding static proxy routes for non-cluster devices, publishing ports, scal5.3Kskills.sh installs
2forcedotcom avatarexperience-ui-bundle-metadata-generateforcedotcom/sf-skillsUse this skill when adding a front-end React UI bundle to an existing project or configuring UI bundle metadata and config files. TRIGGER when: adding or scaffo5.3Kskills.sh installs
3jeffallan avatarshopify-expertjeffallan/claude-skillsBuilds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefr5.3Kskills.sh installs
4recoupable avatarrecoup-platform-email-helperrecoupable/skillsSend an email via the Recoup API the reliable way — a Node helper that serializes the body correctly and fails loudly instead of sending an empty email. Use whe5.2Kskills.sh installs
5forcedotcom avatarplatform-trust-archive-manageforcedotcom/sf-skillsALWAYS USE THIS SKILL for anything involving Salesforce Archive (also called Trusted Services Archive) — search, view, unarchive, analyze, mask, and erase (RTBF5.2Kskills.sh installs
6forcedotcom avatarexperience-ui-bundle-file-upload-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding f5.2Kskills.sh installs