AssertJ's custom assertions

2 years ago by bahmanm to c/java

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.

java
java

@programming.dev

login for more options
2059
259
34

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

go to feed...