Upgrade rest-assured 4.5.1 -> 5.5.2 - #209
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Conversation
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps all four
io.rest-assuredtest artifacts (rest-assured,json-path,xml-path,spring-mock-mvc) from 4.5.1 to 5.5.2, the latest release, and pins them through a singlerestAssuredVersionext property so they can't drift apart:No test code changes were needed. The 4.x -> 5.x jump is a Groovy 3 -> Groovy 4 migration under the hood (
org.codehaus.groovy->org.apache.groovy, a different Maven group, so it doesn't collide with the Groovy 3 that the Boot 2.6.3 BOM manages forspring-boot-starter-test). TheRestAssuredMockMvcsurface used acrosssrc/test/java/io/spring/api/*(given(),standaloneSetup,RestAssuredMockMvc.mockMvc) is unchanged, so all 8 API test classes compile and pass untouched.spring-mock-mvc5.5.2 still builds against Spring 5 /javax.servlet(its POM setsspring.version=5.1.13.RELEASE), so it remains compatible with the current Spring Boot 2.6.3 / Java 11 baseline — no Boot 3 or jakarta prerequisite.Verification
Run on JDK 11 (matching CI):
./gradlew clean test -x jacocoTestCoverageVerification— 68 tests, 0 failures./gradlew spotlessCheck— cleanNote:
jacocoTestCoverageVerificationfails at 0.33 instruction coverage against the 0.80 rule, but that is pre-existing —mainproduces the identical 0.33 figure, and CI already runs with-x jacocoTestCoverageVerification.Also refreshed the dependency baseline row in
.agents/skills/java-engineering-excellence/SKILL.md, which still listed rest-assured at 4.5.1.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/89d7668e4a0f41df961b621ba08c07f1
Requested by: @mbatchelor81