RFR: 8313612: Use JUnit in lib-test/jdk tests

Chen Liang liach at openjdk.org
Tue Aug 15 14:37:59 UTC 2023


On Wed, 2 Aug 2023 23:25:13 GMT, Qing Xiao <duke at openjdk.org> wrote:

> Modified all tests under lib-test/jdk to use JUnit

Should all static `@Test` methods be converted to instance methods, as recommended by JUnit? See https://junit.org/junit5/docs/snapshot/user-guide/#writing-tests-definitions

> Test Method
any **instance** method that is directly annotated or meta-annotated with `@Test`, ...

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15131#issuecomment-1679037063


More information about the core-libs-dev mailing list