Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate mockito library upgrade #131

Closed

Conversation

sullis
Copy link

@sullis sullis commented Dec 16, 2024

What's changed?

new unit test for UpgradeDependencyVersion

What's your motivation?

I wanted to verify Mockito dependency upgrades.

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@sullis sullis changed the title upgrade Mockito in gradle project validate mockito library upgrade Dec 16, 2024
@sullis sullis force-pushed the upgradeMockitoInGradleProject branch from ea333b7 to 57f60b8 Compare December 16, 2024 04:29
}

dependencies {
testImplementation("org.mockito:mockito-junit-jupiter:4.11.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has mockito completely stopped putting out 4.x releases? I'd think so given that 4.11 stems from December 2022, but figured to check since we wouldn't want to update the test output if there's a newer release.

@timtebeek
Copy link
Contributor

Thanks for helping ensure downstream recipes see the correct updated Gradle project marker. Since the recipe here merely delegates I'd lean towards only merging the test you added in

Would you be ok with that change? Or did you (fore)see a potential failure mode when we don't?

@timtebeek
Copy link
Contributor

Let's continue with the tests in openrewrite/rewrite only for now; thanks for looking out for the not-visible change here as well!

@timtebeek timtebeek closed this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants