Skip to content

Upgrade junit to junit 5 #3148

@lovepoem

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions