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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.