Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Sun, 01 Jun 2025 16:23:42 +0000 Subject: [pgjdbc/pgjdbc] PR #3652: chore: update JUnit to 5.13, use @ParameterizedClass List-Id: X-GitHub-Author-Id: 213894 X-GitHub-Author-Login: vlsi X-GitHub-Issue: 3652 X-GitHub-Labels: dependencies, chore X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: merged X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3652 Content-Type: text/plain; charset=utf-8 JUnit 5.13 brings @ParameterizedClass which makes it way easier to migrate JUnit 4 @Parameterized tests to JUnit 5. Notes for the reviewers: * I used IDEA's inspection to automatically convert JUnit4 assertions and assumptions to JUnit5 * I used IDEA's "simplify assertion" to automatically convert cases like `assertTrue(!x)` into `assertFalse(x)` * `@ParameterizedClass` is experimental in JUnit 5.13, however, it feels so good to finally drop JUnit4 from the dependencies so we no longer have multiple `@Test` annotations RedHat Bugzilla regarding JUnit 5.13 update: https://bugzilla.redhat.com/show_bug.cgi?id=2276648