-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement][Test] Give an example on replacing Powermock with Mockito #11588
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
Conversation
dolphinscheduler-task-plugin/dolphinscheduler-task-zeppelin/pom.xml
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## dev #11588 +/- ##
============================================
- Coverage 38.68% 38.66% -0.02%
+ Complexity 4006 4005 -1
============================================
Files 1002 1002
Lines 37213 37215 +2
Branches 4249 4251 +2
============================================
- Hits 14394 14390 -4
- Misses 21186 21190 +4
- Partials 1633 1635 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f404f38 to
1a627c8
Compare
...ter/src/main/java/org/apache/dolphinscheduler/plugin/task/jupyter/JupyterPropertyReader.java
Outdated
Show resolved
Hide resolved
...-task-jupyter/src/main/java/org/apache/dolphinscheduler/plugin/task/jupyter/JupyterTask.java
Outdated
Show resolved
Hide resolved
ff6357e to
c968f2f
Compare
SbloodyS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
caishunfeng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Kudos, SonarCloud Quality Gate passed! |
…to (apache#11588) * Give an example on replacing powermock with mockito * Remove redundant comments * Refactoring related UTs for better readability.








Purpose of the pull request
Give an example on replacing
PowermockwithMockito.Considering the workload, I'm not going to refactoring all the UTs which use
Powermockin one PR. This is an example as the beginning work of this issue. If the example looks good, I will have two more contributors finish the remaining work together with me.related: [Improvement][Test] Remove dependency of powermock #11405
Brief change log
Verify this pull request