Introduction to Unit Testing and Test-Driven Development
Unit testing is a way to prove that a functional piece of code indeed works. The goal of unit tests is to make sure (“assert”) that a specified condition executes against the code, and returns a predefined value. Over time, unit tests increase the code quality by creating high code coverage, and protecting against regression bugs.
Unit testing is a proven practice that helps achieve better code quality, better design and fewer bugs. During this course we will learn how to apply unit testing techniques, tools and methodologies in order to write better unit tests and achieve high code coverage.