Skip to content

Upgrade junit to junit 5 #3148

Closed
Closed

Description

@lovepoem
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.0
  • Operating System version: macos
  • Java version: 1.8

functions

  1. Upgrade junit to junit 5
  2. Upgrade the test cases

Why do this ?

  • Some new features:test extensions 、Future of JVM testing、easier parameterized tests
  • Java 8 lambda support
  • Optimized api
  • Basically compatible with junit4

Please read the referenced article 《7 reasons why you should start using JUnit 5 today》

How to write junit5 test case ?

Please see 《JUnit 5 User Guide》 : https://junit.org/junit5/docs/current/user-guide/

Activity

  1. amishra123 commented on Jan 6, 2019

    @amishra123

    could i work on this?

  2. lovepoem commented on Jan 6, 2019

    @lovepoem
    MemberAuthor

    @amishra123
    Now that I have completed the batch upgrade in #3149 , you can continue to complete some modules with low coverage

  3. lovepoem commented on Jan 11, 2019

    @lovepoem
    MemberAuthor

    close it via #3149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions