-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed as not planned
Closed as not planned
Copy link
Description
The vast majority of Assertion libraries for Java make assertions in the order
actual to expected.
- AssertJ
- Hamcrest
- Truth
- Atrium
- TestNG
(Kotlin: Kotest, kotlinx-assertions, Strikt)
With the introduction of JUnit 6, it would be now possible to incorporating this into JUnit.
When we first introduced assertEquals in JUnit Jupiter, I copied and modified the existing logic from JUnit 4.
There was no rationale other than keeping it similar to JUnit 4.
Ref: #3120 (comment)
Now there is an opportunity to fix this. :)