Custom Assertions In Tests

We all love our tests to speak in the language of business and not in the language of implementation details. In this short presentation I will show how we can get closer to this goal by writing custom assertions with AssertJ.

AssertJ is an open source library of assertions similar to fest-assert. AssertJ provides a rich set of assertions, truly-helpful error messages, it improves test code readability and has been designed to be super easy to use within your favorite IDE.

Video producer: