Skip to content
Back to skills

Quarkus Tdd

ASecurity

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. Only for Quarkus — not for other stacks. Triggers on \"quarkus-tdd\", \"quarkus tdd\", \"tdd\".

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentsgojavareactdjangospringtestingrefactoringsecurity

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill quarkus-tdd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quarkus Tdd?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quarkus Tdd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-quarkus-tdd/badge)](https://www.skillsdirectory.com/skills/majinmagros-quarkus-tdd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: quarkus-tdd
description: "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. Only for Quarkus — not for other stacks. Triggers on \"quarkus-tdd\", \"quarkus tdd\", \"tdd\"."
metadata:
  origin: ECC
---

# 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

## When NOT to Use

- Other stacks (use `springboot-tdd`, `django-tdd`, `laravel-tdd`, etc.)
- Quarkus patterns in general (use `quarkus-patterns`)
- Quarkus verification loop (use `quarkus-verification`)

## 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)

## Example

```java
// AAA with @Nested + AssertJ (idiomatic Quarkus test)
@QuarkusTest
class OrderServiceTest {
    @InjectMock OrderRepository orders;

    @Test
    void rejectsEmptyOrder() {
        // ARRANGE
        var order = new Order(List.of());
        // ACT + ASSERT
        assertThatThrownBy(() -> service.place(order))
            .isInstanceOf(ValidationException.class);
    }
}
```

## Contents

| Topic | Reference |
|---|---|
| Unit tests (@Nested, patterns) | `references/unit-tests.md` |
| Camel route testing | `references/camel-routes.md` |
| Event service testing | `references/event-services.md` |
| CompletableFuture testing | `references/completablefuture.md` |
| REST Assured resource tests | `references/rest-assured.md` |
| Integration tests, JaCoCo | `references/integration-coverage.md` |
| Maven test dependencies | `references/test-dependencies.md` |

Files in this skill

  • SKILL.md2.1 KB
  • references/camel-routes.md4.9 KB
  • references/completablefuture.md3.4 KB
  • references/event-services.md3.1 KB
  • references/integration-coverage.md2.3 KB
  • references/rest-assured.md2.3 KB
  • references/test-dependencies.md1.2 KB
  • references/unit-tests.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.