TDD: Test driven development is a development approach where direction of development is driven by tests. As the name suggests, in TDD, first piece of code to written is test case, then actual piece of code.
Unit Test: Unit test is a programming method to writes test cases for your application. Unit testing is used to break down the functionality of your program to a discrete testable piece. Unit test are also important to create a code coverage report. Thru Unit test, the code and logic written becomes testable and thus reliable. Continue reading “TDD, Unit Tests and Mocking”