
Quarkus Tdd
This gives you a structured TDD workflow for Quarkus 3.x with opinionated patterns that actually help: nested test classes grouped by method, given-when-then naming, explicit AAA comments, and 80%+ coverage enforcement via JaCoCo. It's built for event-driven services using Apache Camel and covers the annoying stuff like mocking Camel routes with AdviceWith, testing RabbitMQ publishers, and verifying async CompletableFuture operations. The examples are thorough, showing both happy paths and error scenarios with proper Mockito verification. If you're working on Quarkus microservices with Camel integration and want your tests to look consistent and cover the actual complexity, this is a solid starting point.
- skills.sh installs
- 1.6K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill quarkus-tdd --agent claude-codeInstalls 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
- Write tests first (they should fail)
- Implement minimal code to pass
- Refactor with tests green
- 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/everything-claude-code
- Categories
- Testing & QA, Java & JVM
- First seen
- Jun 3, 2026
More from affaan-m/everything-claude-code
All 256- Quarkus Verification1.6K
- Skill Scout1.6K
- Uspto Database1.6K
- Prisma Patterns1.4K
- Blender Motion State Inspection1.3K
- Recsys Pipeline Architect1.3K
- Uncloud1.2K
- React Testing910
- React Performance903
- React Patterns893
- Frontend A11y870
- Marketing Campaign827
- Benchmark Optimization Loop826
- Latency Critical Systems818
- Parallel Execution Optimizer813
- Social Publisher806
- Data Throughput Accelerator805
- Prediction Market Risk Review801
- Recursive Decision Ledger801
- Prediction Market Oracle Research796
- Ito Basket Compare794
- Ito Data Atlas Agent794
- Ito Market Intelligence794
- Ito Trade Planner791