且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在JUnit5中为测试套件设置自定义测试执行顺序?

更新时间:2023-01-05 15:34:46

不幸的是,您目前所要求的在JUnit 5中是不可能的(例如,在JUnit平台上或在JUnit Jupiter中).

What you're asking for is unfortunately not currently possible in JUnit 5 (i.e., either on the JUnit Platform or within JUnit Jupiter).

但是,有一个专门针对该主题的未解决问题.因此,请随时在其中鸣响.

There is however an open issue dedicated to this topic. So feel free to chime in there.