-
Notifications
You must be signed in to change notification settings - Fork 52
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
Improvement of Replace PowerMockito with Mockito static mocking #312
Improvement of Replace PowerMockito with Mockito static mocking #312
Conversation
…rMockitoIntegrationTest.java Co-authored-by: Tim te Beek <timtebeek@gmail.com>
…rMockitoIntegrationTest.java
- First it removes the PowerMockTestCaseConfig extension
…template which I think is a bug in OpenRewrite.
…commit of code review
- Unit tests are failing because of missing type
# Conflicts: # build.gradle.kts # src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java # src/test/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockitoTest.java
- Unit tests are failing because of missing type
- Unit tests are failing because of missing type
Hi @sambsnyd @timtebeek, |
- The testNG case is still missing - Unit tests are failing because of missing type
@timtebeek I've fixed all tests except for 1 in src/test/java/org/openrewrite/java/testing/mockito/ReplacePowerMockitoIntegrationTest.java |
As discussed on Slack
|
Move static mock creation into before method
…sspathFromResources
I haven't reviewed this in great detail, so there may be suggestions or improvements to come later, but for now we can merge and iterate on it |
Fixes #293