bahmanm@lemmy.ml to General Programming Discussion@lemmy.mlEnglish · edit-23 days agoAssertJ's custom assertionslemmy.mlimagemessage-square2fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1imageAssertJ's custom assertionslemmy.mlbahmanm@lemmy.ml to General Programming Discussion@lemmy.mlEnglish · edit-23 days agomessage-square2fedilinkfile-text
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.
minus-squarejan75@lemmy.mllinkfedilinkarrow-up2·3 days agoYeah, we use it as well and it can do some nice assertions while still remaining at least somewhat readable.
Yeah, we use it as well and it can do some nice assertions while still remaining at least somewhat readable.