Keep the build clean.

Don’t accept failed tests.

Sometimes there are places where the build never completes successfully, yet people happily move along anyway. “Oh, that test always fails,” one might say. Well what good is a test whose failure is acceptable?  Either fix the problem or remove the test. Clearly it doesn’t represent a real problem.

The build must stay green. When the red lights appear in the build, that needs to be a major call to action – something is wrong and must be fixed!

If having red lights in a build becomes acceptable, some really bad failures will eventually leak into production. Failures that should have been noticed and prevented.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: