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

[Improvement][Test] Migrate all UT cases from jUnit4 to jUnit5 in task-plugin module as an example #12299

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

EricGao888
Copy link
Member

@EricGao888 EricGao888 commented Oct 10, 2022

Purpose of the pull request

Brief change log

  • Already described above.

Verify this pull request

  • Verified by UT cases.

@EricGao888 EricGao888 added improvement make more easy to user or prompt friendly test labels Oct 10, 2022
@EricGao888 EricGao888 added this to the 3.2.0 milestone Oct 10, 2022
@EricGao888 EricGao888 self-assigned this Oct 10, 2022
@EricGao888 EricGao888 changed the title Migrate all UT cases from jUnit4 to jUnit5 in task-plugin module as an example [Improvement][Test] Migrate all UT cases from jUnit4 to jUnit5 in task-plugin module as an example Oct 10, 2022
@EricGao888 EricGao888 marked this pull request as ready for review October 10, 2022 12:28
@github-actions github-actions bot added backend and removed test labels Oct 10, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2022

Codecov Report

Merging #12299 (7b1fddf) into dev (9ab79e0) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #12299      +/-   ##
============================================
+ Coverage     38.53%   38.58%   +0.04%     
- Complexity     4075     4101      +26     
============================================
  Files          1023     1031       +8     
  Lines         38267    38458     +191     
  Branches       4393     4402       +9     
============================================
+ Hits          14748    14840      +92     
- Misses        21796    21889      +93     
- Partials       1723     1729       +6     
Impacted Files Coverage Δ
...org/apache/dolphinscheduler/remote/utils/Host.java 42.55% <0.00%> (-2.13%) ⬇️
...e/dolphinscheduler/remote/NettyRemotingClient.java 51.42% <0.00%> (-1.43%) ⬇️
...phinscheduler/plugin/task/java/JavaParameters.java 50.00% <0.00%> (ø)
...k/java/exception/PublicClassNotFoundException.java 20.00% <0.00%> (ø)
.../task/java/exception/RunTypeNotFoundException.java 20.00% <0.00%> (ø)
...he/dolphinscheduler/plugin/task/java/JavaTask.java 59.18% <0.00%> (ø)
...hinscheduler/plugin/task/java/JavaTaskChannel.java 0.00% <0.00%> (ø)
...k/java/exception/JavaSourceFileExistException.java 20.00% <0.00%> (ø)
...lphinscheduler/plugin/task/java/JavaConstants.java 33.33% <0.00%> (ø)
...duler/plugin/task/java/JavaTaskChannelFactory.java 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarcloud
Copy link

sonarcloud bot commented Oct 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 255 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@EricGao888 EricGao888 merged commit 875682d into apache:dev Oct 11, 2022
xdu-chenrj pushed a commit to xdu-chenrj/dolphinscheduler that referenced this pull request Oct 13, 2022
…k-plugin module as an example (apache#12299)

* Migrate all UT cases from jUnit4 to jUnit5 in task-plugin module as an example
fuchanghai pushed a commit to fuchanghai/dolphinscheduler that referenced this pull request Nov 16, 2022
…k-plugin module as an example (apache#12299)

* Migrate all UT cases from jUnit4 to jUnit5 in task-plugin module as an example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend improvement make more easy to user or prompt friendly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants