pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] PR #3652: chore: update JUnit to 5.13, use @ParameterizedClass
Date: Sun, 01 Jun 2025 16:23:42 +0000
Message-ID: <[email protected]> (raw)

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

view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] PR #3652: chore: update JUnit to 5.13, use @ParameterizedClass
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox