Be that as it may, with JUnit 5 you can switch to having just a single instance by putting @TestInstance(Lifecycle.PER_CLASS) on your test class ...
確定! 回上一頁