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.

  • jan75@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    11 days ago

    Yeah, we use it as well and it can do some nice assertions while still remaining at least somewhat readable.