更新时间: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.