Cover Image for AssertJ: The Hidden Gem of JUnit Testing

AssertJ: The Hidden Gem of JUnit Testing

Hosted by Ted M. Young
 
 
Zoom
Registration
Past Event
Welcome! To join the event, please register below.
About Event

If you're a Java developer, you probably use JUnit for your tests. But tests full of repeated "assertEquals" and "assertTrue" can be hard to decipher. When tests fail -- and they will -- you want to know why, without having to dig deep into the test.

AssertJ is a popular add-on library for JUnit tests, used by projects from small to large (such as the Spring framework). This session will show you how easy it is to write more readable tests using its "fluent" syntax, and create your assertions of your own.