Use when you need to write fast unit tests for Quarkus applications — including pure tests with @ExtendWith(MockitoExtension.class), @QuarkusTest with @InjectMock for full CDI mock replacement, @InjectSpy for partial CDI bean mocking, REST Assured for resource-focused tests, @ParameterizedTest with @CsvSource / @MethodSource, QuarkusTestProfile for test-specific configuration overrides, and naming conventions (*Test → Surefire, *IT → Failsafe). For framework-agnostic Java use @131-java-testing-u
SkillScore86Maintained
Automatic
◆QA & Test Engineering pack
Last verified 8/20/2026
What it changes
Passed 17 of 20 test cases with the skill, and 15 of 20 without it.
Without skill77%
With skill86%
Checks it passed that the model alone missed
Specifies executing clean verify using Maven wrapper
Specifies running mvn compile before starting test modifications
2 fixed17 passed either way3 still failing0 broke
Pass-rate lift
+9 pp
Tokens
+0%
Agent turns
0%
Response time
-31%
Model gemini-3.6-flashMeasured 8/20/2026v119 of 22 cases passed with skill · 20 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
Before we begin refactoring tests across our Quarkus project, what build action must be executed first to ensure the project is in a valid state?
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies running mvn compile before starting test modifications
Missed
Passed
case-12 · gemini-3.6-flash · 8/20/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md57 lines2 files
Quarkus Unit Testing
Apply fast testing strategies for Quarkus: Mockito-first, QuarkusTest when CDI wiring matters.
What is covered in this Skill?
Pure JUnit 5 + Mockito without container boot (@ExtendWith(MockitoExtension.class))
@QuarkusTest with @InjectMock for full CDI bean replacement
@InjectSpy for partial mocking — real bean wrapped as spy, specific methods overridden
REST Assured for HTTP-level @QuarkusTest resource tests
@ParameterizedTest with @CsvSource (inline data) and @MethodSource (complex objects)
QuarkusTestProfile and @TestProfile for test-specific configuration overrides
Use when you need to create a new Maven-based Micronaut 4.x project using SDKMAN-managed Java and Micronaut CLI tooling. This should trigger for requests such as Create a Micronaut Maven project; Bootstrap Micronaut project with SDKMAN; Generate a new Micronaut service; Create Micronaut 4 Maven project; Scaffold Micronaut service with Java 25. Part of Plinth Toolkit