[code-reflection] RFR: Use JUnit instead of TestNG
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Sep 15 13:21:37 UTC 2025
On Mon, 15 Sep 2025 12:45:03 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
> > One area we need to pay special attention to is the order of arguments of assert methods. junit and testng switch the order actual and expected parameters of such methods.
>
> Yes. But It won't affect the test result, right ?
In the case of assertEquals, probably not -- but it might result in confusing error messages. You might try to provoke a failure and compare before/after?
-------------
PR Comment: https://git.openjdk.org/babylon/pull/566#issuecomment-3292123641
More information about the babylon-dev
mailing list