When formulating assertions, JUnit quickly reaches its limits. The AssertJ and Google Truth libraries offer new possibilities and better readability.
Marco Dahms has been working as a software architect for 18 years. His areas of expertise include clean code, continuous integration, cloud computing, distributed architectures, and Kubernetes. Unit ...
One for professional programmers or those very serious about their software development, I think: Google has released a “fluent assertion library” for Android and Java called Truth. It has announced ...