Upgrading JUnit from 5.8 to 5.13 sounds like a straightforward
version bumping, and should be low risk, so just do it?

Thanks,
Cheng Pan

On 2025/07/04 14:55:38 Steve Loughran wrote:
> I see that Junit5 completely breaks parameterization because its test
> running is completely different...the value gets passed as a parameter to
> the test method, which is too late for any test setup. As a result, all s3a
> ITests are broken.
> 
> The good news, JUnit 5.13 appears to restore this functionality, somehow
> 
> https://docs.junit.org/current/api/org.junit.jupiter.params/org/junit/jupiter/params/ParameterizedClass.html
> 
> I'm trying this on a new test suite I'm writing; if it works we will have
> to move all those parameterized test cases in hadoop-aws, maybe elsewhere
> back to it.
> 
> I'm a bit disappointed with the Junit team here, though their key
> contribution to software development "make writing tests easy" is profound.
> Pity they left out "make upgrading existing test suites easy"
>  





---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to