Testing the Edges

Learn about the motivation for writing unit tests for the application.

We'll cover the following

Why unit testing

Integration tests ensure that all our code works as expected from start to finish. Those tests are great because we want to know if all the pieces of the puzzle work together to give us the result we want.

While testing things in integration could be sufficient on its own, we might find ourselves wanting to describe the behavior of our objects in more detail. Unit tests are a great tool for this.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy