Testing and debugging are places where developers spend a lot of their time. Code doesn’t always perform as expected and, with complex applications, it’s very easy to break code with minor changes. Unit tests and test-driven-development exist to help us manage expectations of our functionality and to ensure that other developers working on our code are aware when a change they made affects already existing functionality. This is very important when working on large projects with many collaborators as well as small projects with few developers.
We’ll be pre-writing tests in code that we can run whenever we make updates to our application. This will ensure that no new logic breaks old logic, and that we are certain that our programs are executing properly when given different inputs.
What You'll Learn: