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.
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/422-frameworks-quarkus-testing-integration-tests/
1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a codex2Manually: put the files in place
.agents/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a cursor2Manually: put the files in place
.cursor/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jabrena/plinth 422-frameworks-quarkus-testing-integration-tests2Manually: put the files in place
.github/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.md1Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a gemini-cli2Platform CLI
gemini skills install https://github.com/jabrena/plinth --path skills/422-frameworks-quarkus-testing-integration-testsManually: put the files in place
.devin/skills/422-frameworks-quarkus-testing-integration-tests/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jabrena/plinth --skill 422-frameworks-quarkus-testing-integration-tests -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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