Testing

What are unit tests?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Unit test are a software testing technique that involves systimatically breaking down a system and testing each individual part of the assembly. These tests are automated and can be run repeatedly to allow developers to catch edge case scenarios or bugs quickly while developing.

The main objective of unit tests are to verify each function is producing proper outputs given a set of inputs.