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 ...
Get Mastering Jenkins now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.