Skip to main content
skill CX Codex

422-frameworks-quarkus-testing-integration-tests: Claude Code skill

Configures integration tests for Quarkus apps, from Dev Services and WireMock stubs to @QuarkusIntegrationTest native checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a claude-code
Open on GitHub

What 422-frameworks-quarkus-testing-integration-tests does

This skill guides integration testing in Quarkus codebases. It sets up in-JVM tests with real CDI wiring using @QuarkusTest and handles Dev Services containers. HTTP endpoints run against REST Assured, while third-party dependencies rely on WireMock stubs via QuarkusTestResourceLifecycleManager.

The workflow enforces strict build rules. Your project must pass ./mvnw compile before applying edits; otherwise, execution stops immediately. Running Testcontainers and Dev Services requires an active Docker daemon. Test execution separates fast *Test runs in Surefire from integration *IT suites in Maven Failsafe.

What it helps with

  • configure Dev Services and Testcontainers for Quarkus persistence layers
  • mock external HTTP endpoints using WireMock lifecycles
  • set up black-box verification with @QuarkusIntegrationTest for native images
  • split unit and integration test phases across Maven Surefire and Failsafe
  • isolate test data using @TestTransaction or cleanup methods in @BeforeEach

Example prompts for the agent

  • Configure Dev Services PostgreSQL for our Quarkus repository integration tests
  • Set up WireMock stubs for the external billing service in our Quarkus suite
  • Split integration tests into Maven Failsafe and configure @QuarkusIntegrationTest

How to install 422-frameworks-quarkus-testing-integration-tests

1Skills CLI (Vercel)

npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a claude-code

2Manually: put the files in place

~/.claude/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/422-frameworks-quarkus-testing-integration-tests/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about 422-frameworks-quarkus-testing-integration-tests

How to install 422-frameworks-quarkus-testing-integration-tests in Claude Code?

Run npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a claude-code.

What does 422-frameworks-quarkus-testing-integration-tests do?

It applies integration testing patterns for Quarkus, including @QuarkusTest, Dev Services containers, WireMock stubs, and REST Assured assertions.

What prerequisites are required before using this skill?

Your project must compile cleanly with ./mvnw compile or mvn compile. Testing with Dev Services or Testcontainers also requires a running Docker daemon.

Source text

SKILL.md · Apache-2.0
---
name: 422-frameworks-quarkus-testing-integration-tests
description: Use when you need to write or improve integration tests for Quarkus — including @QuarkusTest, Dev Services for automatic container provisioning, Testcontainers via QuarkusTestResourceLifecycleManager, WireMock for external HTTP stubs, @QuarkusIntegrationTest for black-box testing against packaged artifacts, REST Assured, data isolation strategies (@TestTransaction vs @BeforeEach cleanup), and Maven Surefire/Failsafe three-tier split (*Test, *IT, *AT). This should trigger for requests such as Add or improve integration tests in a Quarkus project; Configure Testcontainers or Dev Services for Quarkus tests; Add WireMock stubs for external HTTP dependencies in Quarkus integration tests; Set up @QuarkusIntegrationTest for packaged artifact or native binary testing; Fix test data isolation or configure Maven Surefire/Failsafe split. Part of Plinth Toolkit
license: Apache-2.0
metadata:
  author: Juan Antonio Breña Moral
  version: 0.19.0
---
# Quarkus Integration Testing

Apply integration testing patterns for Quarkus with real wiring and reproducible infrastructure.

**What is covered in this Skill?**

- @QuarkusTest for in-JVM integration with real CDI wiring
- Dev Services for automatic container provisioning (%test.quarkus.datasource.devservices)
- Testcontainers via QuarkusTestResourceLifecycleManager (start/stop lifecycle, dynamic config injection)
- WireMock for stubbing external HTTP services via QuarkusTestResourceLifecycleManager
- @QuarkusIntegrationTest for black-box testing against the packaged JAR or native binary
- HTTP testing with REST Assured against the Quarkus test port
- Data isolation: @TestTransaction for automatic rollback; @BeforeEach cleanup for HTTP tests
- Maven three-tier split: *Test → Surefire (fast), *IT + *AT → Failsafe (verify)
- Native-image test considerations with @DisabledOnNativeImage

**Scope:** Apply recommendations based on the reference rules and good/bad code examples.

## Constraints

Compile before changes; verify after; Docker may be required for containers.

- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change
- **PREREQUISITE**: Project must compile before applying integration test improvements
- **SAFETY**: If compilation fails, stop immediately
- **BLOCKING CONDITION**: Compilation errors must be resolved by the user before proceeding
- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements; Docker is required for Testcontainers and Dev Services
- **BEFORE APPLYING**: Read the reference for detailed rules and examples

## When to use this skill

- Add or improve integration tests in a Quarkus project
- Configure Testcontainers or Dev Services for Quarkus tests
- Add WireMock stubs for external HTTP dependencies in Quarkus integration tests
- Set up @QuarkusIntegrationTest for packaged artifact or native binary testing
- Fix test data isolation or configure Maven Surefire/Failsafe split

## Workflow

1. **Read reference and assess project context**

Read `references/422-frameworks-quarkus-testing-integration-tests.md` and inspect the current project setup before proposing changes.

2. **Gather scope and decide target improvements**

Identify requested outcomes, constraints, and the minimum safe set of changes to apply.

3. **Apply framework-aligned changes**

Implement or refactor configuration/code following the reference patterns and project conventions.

4. **Run verification and report results**

Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.

## Reference

For detailed guidance, examples, and constraints, see [references/422-frameworks-quarkus-testing-integration-tests.md](references/422-frameworks-quarkus-testing-integration-tests.md).

© Juan Antonio Breña Moral · Apache-2.0 · jabrena/plinth

Similar skills

All skills for Backend and APIs →

From the same set51

401-frameworks-quarkus-core A skill that reviews and fixes the core of a Quarkus app: CDI beans, profiles, interceptors, virtual threads. Useful once the Java project already compiles. CX Codex +1 321installs 421-frameworks-quarkus-testing-unit-tests Sets up fast unit tests for Quarkus by prioritizing plain Mockito over heavy test containers. It also manages CDI mocking and REST Assured tests. CX Codex +1 315installs 114-java-maven-search Reads outdated dependency and plugin reports from your pom.xml and helps verify Maven artifact coordinates from approved evidence. CX Codex +1 315installs 413-frameworks-quarkus-db-migrations-flyway A skill that has your coding agent add and review Flyway migrations in a Quarkus app: the quarkus-flyway extension, SQL scripts, config and ordering. CX Codex +1 313installs 411-frameworks-quarkus-jdbc A skill for programmatic JDBC in Quarkus: Agroal DataSource, parameterized SQL, transactions, batching and Dev Services. Useful when reviewing data access. CX Codex +1 312installs 701-technologies-openapi Guides you through an OpenAPI 3.x contract: spec structure, reusable schemas, security schemes, breaking-change checks. Useful when the contract lives apart from the code. CX Codex +1 309installs 521-frameworks-micronaut-testing-unit-tests Enforces unit testing standards for Micronaut apps: prefers fast Mockito tests without context boots and reserves @MicronautTest for HTTP or @MockBean setups. CX Codex +1 304installs 522-frameworks-micronaut-testing-integration-tests Guides writing Micronaut integration tests using Testcontainers and Maven test configurations. CX Codex +1 303installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor