Software builds should fail fast

This can be achieved by doing the following:

  1. Integrating software components.
  2. Running true unit tests—unit tests that don't rely on a database but run in isolation.
  3. Ensuring that unit tests are able to run quickly. If a unit test takes an order of minutes, then this could be an indication of a problem.
  4. Running other automated processes (rebuild database, inspect, and deploy).
It is up to each company what other steps are necessary for their builds.

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.