cross-posted from: https://lemmy.ml/post/22574276

If there was one reason I liked coding in Java, it’d be AssertJ and its brilliant extensibility.

The image is an example of it from bjForth

The ability to create custom assertions makes the test code concise and read naturally.