Automate the Build

I want you to make it so easy to build software that it becomes invisible to you. You should be able to launch the build with a single click of the mouse.

Slow tests are the number one reason builds are slow, but there are techniques to make tests run much, much faster. Builds should take less than ten minutes to run. This is actually something James Shore and Shane Warden say in their book The Art of Agile Development [SW07]. But I think even ten minutes is pushing it.

For local builds, I like to see them run in just a second or two and when I promote to the build server I like builds to happen in just a few minutes, though it depends on the nature of what I’m building and how big it is. Some builds actually do require several ...

Get Beyond Legacy Code 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.