Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. This should trigger for requests such as Review Java code for Spring Boot integration tests; Apply best practices for Spring Boot integration tests in Java code; Write @SpringBootTest integration tests with Testcontainers; Configure dynamic
.claude/skills/jabrena-322-frameworks-spring-boot-testing-integration-tests/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -40% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-04 | ✓→✗ | ▼ Worse | 112% | 0% |
| case-05 | ✓→✗ | ▼ Worse | -58% | 0% |
Apply Spring Boot integration testing guidelines for Spring Boot 4.0.x.
What is covered in this Skill?
Scope: Apply recommendations based on the reference rules and good/bad code examples.
Before applying any integration test changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRead references/322-frameworks-spring-boot-testing-integration-tests.md and inspect the current project setup before proposing changes.
Identify requested outcomes, constraints, and the minimum safe set of changes to apply.
Implement or refactor configuration/code following the reference patterns and project conventions.
Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.
For detailed guidance, examples, and constraints, see references/322-frameworks-spring-boot-testing-integration-tests.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→fail | 10,801 | 20,997 | +94% | 1 | 1 | 0% | 1,939 | 4,105 | +112% | 0 | 0 | — |
case-05 | pass→fail | 10,131 | 5,045 | -50% | 1 | 1 | 0% | 1,942 | 811 | -58% | 0 | 0 | — |
case-03 | fail→fail | 27,218 | 6,202 | -77% | 1 | 1 | 0% | 6,100 | 977 | -84% | 0 | 0 | — |
case-01 | fail→fail | 20,281 | 6,745 | -67% | 1 | 1 | 0% | 3,827 | 979 | -74% | 0 | 0 | — |
case-02 | fail→pass | 20,088 | 19,872 | -1% | 1 | 1 | 0% | 3,640 | 3,542 | -3% | 0 | 0 | — |
case-06 | pass→fail | 8,749 | 4,138 | -53% | 1 | 1 | 0% | 1,765 | 829 | -53% | 0 | 0 | — |
case-07 | pass→pass | 3,962 | 4,654 | +17% | 1 | 1 | 0% | 787 | 1,407 | +79% | 0 | 0 | — |
case-08 | fail→pass | 19,726 | 7,034 | -64% | 1 | 1 | 0% | 3,052 | 1,830 | -40% | 0 | 0 | — |
case-09 | pass→pass | 9,513 | 5,163 | -46% | 1 | 1 | 0% | 1,474 | 1,472 | -0% | 0 | 0 | — |
case-10 | pass→pass | 8,729 | 4,684 | -46% | 1 | 1 | 0% | 1,390 | 1,395 | +0% | 0 | 0 | — |
case-11 | pass→pass | 5,493 | 4,764 | -13% | 1 | 1 | 0% | 875 | 1,449 | +66% | 0 | 0 | — |
case-12 | pass→pass | 3,631 | 4,672 | +29% | 1 | 1 | 0% | 608 | 1,530 | +152% | 0 | 0 | — |
case-13 | pass→pass | 5,680 | 4,806 | -15% | 1 | 1 | 0% | 893 | 1,446 | +62% | 0 | 0 | — |
case-14 | pass→pass | 19,522 | 10,916 | -44% | 1 | 1 | 0% | 2,791 | 2,386 | -15% | 0 | 0 | — |
case-15 | pass→pass | 5,359 | 5,081 | -5% | 1 | 1 | 0% | 950 | 1,548 | +63% | 0 | 0 | — |
case-16 | fail→pass | 7,124 | 3,272 | -54% | 1 | 1 | 0% | 1,084 | 973 | -10% | 0 | 0 | — |
case-17 | pass→pass | 4,234 | 2,685 | -37% | 1 | 1 | 0% | 616 | 997 | +62% | 0 | 0 | — |
case-18 | pass→pass | 7,893 | 6,312 | -20% | 1 | 1 | 0% | 1,123 | 1,591 | +42% | 0 | 0 | — |
case-19 | pass→pass | 8,126 | 3,970 | -51% | 1 | 1 | 0% | 1,433 | 1,201 | -16% | 0 | 0 | — |
case-20 | pass→pass | 3,598 | 4,813 | +34% | 1 | 1 | 0% | 567 | 1,396 | +146% | 0 | 0 | — |
case-21 | pass→pass | 13,242 | 9,580 | -28% | 1 | 1 | 0% | 1,986 | 2,003 | +1% | 0 | 0 | — |
case-22 | pass→pass | 5,283 | 4,274 | -19% | 1 | 1 | 0% | 857 | 1,264 | +47% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of 0 percentage points is the difference between those two pass rates over the 18 comparable cases. 4 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.