Testing with AssertJ
Welcome to another edition of Developreneur. Today we are going to be talking about AssertJ packages. AssertJ is a fluent assertion library in Java for unit testing. Therefore, instead of using the traditional JUnit Assert class, we will discuss this new library, AssertJ. Today we’ll be looking at unit testing with Assert J. We’ll briefly talk about the differences between assertions and why they’re essential within unit testing. And then, we’re going to go into a full HandsOn presentation using assert j methods and chaining within our unit testing. What is Unit Testing? Let’s begin by talking about unit testing. Unit testing is software testing, where we test the individual units of our source code. Here we focus on testing particular methods... Read more