Test: Create and use Unit Tests (DevOps patterns Guide)
This series of stories introduces most common DevOps practices in the industry. Each story focus on a specific point.
Unit Tests ensure that the methods, or software units, perform according to specifications. They ensure that the code, at the unit level, does what the developer thinks it does.
These tests must be fast and “stateless”. This means that they must not have any external dependencies. If the code is supposed to use a database or make network accesses, these are “mocked”, i.e. simulated. This…