On Tue, 10 Sep 2024 23:32:31 GMT, Marius Hanl <mh...@openjdk.org> wrote:

> I would rephrase it:

To clarify, the main problem introduced by the decision not to support 
class-level parameterization is backward compatibility (our use case).

The issue is that in many tests we have, the `@Before` and sometimes `@After` 
methods are also effectively parameterized.  Yes, one can bring a bunch of 
extra files (see 
https://stackoverflow.com/questions/62036724/how-to-parameterize-beforeeach-in-junit-5/69265907#69265907)
 but one still has to modify all the existing `@Test`s with the parameters, 
basically negating the possible savings.

Keeping backward compatibility should have been a priority.

`/rant`

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

PR Comment: https://git.openjdk.org/jfx/pull/1561#issuecomment-2343912547

Reply via email to