You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by duan haibo <dh...@live.cn> on 2021/12/17 08:02:11 UTC

Migrating from JUnit 4 to JUnit5

Hello community:
   As we know, JUnit 5 has been updated recently, which is more powerful and flexible to the JUnit framework. In ShenYu project,our unit testing framework is based on JUnit4, We are concerned about it is feasibe to us that migrating the unit testing framework from JUnit4 to JUnit5?
    There is the reference that shows some differences and benefits between JUnit4 and JUnit5:
https://blogs.oracle.com/javamagazine/post/migrating-from-junit-4-to-junit-5-important-differences-and-benefits
Migrating from JUnit 4 to JUnit 5: Important Differences and Benefits - Oracle<https://blogs.oracle.com/javamagazine/post/migrating-from-junit-4-to-junit-5-important-differences-and-benefits>
Improvements and new features make JUnit 5 compelling. Download a PDF of this article. JUnit 5 is a powerful and flexible update to the JUnit framework, and it provides a variety of improvements and new features to organize and describe test cases, as well as help in understanding test results. Updating to JUnit 5 is quick and easy: Just update your project dependencies and start using the new ...
blogs.oracle.com




Re: Migrating from JUnit 4 to JUnit5

Posted by XiaoYu <xi...@apache.org>.
I suggest updating to junit5, but I guess the workload should be
large, including many API upgrades, who is interested in participating
together?

duan haibo <dh...@live.cn> 于2021年12月17日周五 16:02写道:
>
> Hello community:
>    As we know, JUnit 5 has been updated recently, which is more powerful and flexible to the JUnit framework. In ShenYu project,our unit testing framework is based on JUnit4, We are concerned about it is feasibe to us that migrating the unit testing framework from JUnit4 to JUnit5?
>     There is the reference that shows some differences and benefits between JUnit4 and JUnit5:
> https://blogs.oracle.com/javamagazine/post/migrating-from-junit-4-to-junit-5-important-differences-and-benefits
> Migrating from JUnit 4 to JUnit 5: Important Differences and Benefits - Oracle<https://blogs.oracle.com/javamagazine/post/migrating-from-junit-4-to-junit-5-important-differences-and-benefits>
> Improvements and new features make JUnit 5 compelling. Download a PDF of this article. JUnit 5 is a powerful and flexible update to the JUnit framework, and it provides a variety of improvements and new features to organize and describe test cases, as well as help in understanding test results. Updating to JUnit 5 is quick and easy: Just update your project dependencies and start using the new ...
> blogs.oracle.com
> 
> 
>