Late discovery of defects

A CI build can help prevent the late discovery of software defects. A CI build should have a good enough test suite that covers a large percentage of the codebase. One possible metric for a healthy codebase is having 70% or more code coverage in a code base. We will talk later about code coverage, but any software tests should be in checked into source code and tests should be run on a CI build. Any software tests that you have should be run continuously on a CI system.

Get Hands-On Continuous Integration and Delivery 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.