Unit tests in Jenkins through MSTest
As we mentioned earlier, unit testing provides developers with a formalized way to write code documentation, and encourages better coding practices. Unit testing is simply breaking down the functionality of a program into unit-testable behaviors, which can be repeatedly executed to verify the behavior of the code in response to standards, boundaries, and data inputs.
TDD, Test Driven Development or TFD, Test First Development, as we mentioned earlier, is a development technique where developers repeat a process of three activities, which are tightly interwoven.
Testing: Creating automated tests
Coding: Writing minimal code to just pass those tests
Design: Refactoring code to improve internal implementation without changing the external contract
At the time of writing, there are numerous Unit testing frameworks available. The most notable are MSTest, JUnit, CUnit, and NUnit, which are available for .NET, JAVA, Linux, and Windows respectively. In the next...