Use Continuous Integration

Automating your build locally with a build tool is really a good start. You can run your tests and build executables whenever you want locally on your developer machine. But in a real development environment, you’ll want more. That’s where Continuous Integration [DMG07] comes in.

When you make a code change locally, of course you should run unit tests to make sure you didn’t break anything before you commit it to version control. But in an enterprise project, the complete set of tests can be huge, and building a fully integrated executable can take a long time. We’re talking about several minutes here, even hours, and that’s not a process you want to trigger for every small code change on your machine.

On top of that, ...

Get Java By Comparison 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.