Feeds

Continuous Integration: Improving Software Quality and Reducing Risk

There's more to continuous integration than you might think.

Providing a secure and efficient Helpdesk

Like unit testing and automated builds, continuous integration is one of those development best practices that everyone can agree on, from the most extreme programmers to the most dogmatic of RUPistas. System integration – the moment when all of the different components of an application come together to produce a harmonious and pleasing whole – can be such a painful and difficult procedure that it’s tempting to put it off until later. It’s a lot of hassle, it takes so much time, there’s always something missing and so… There you are on the eve of release, only to find that rather than software harmony, you’ve got massive discord and disaster.

The answer to these woes is not to put off integration until it’s too late, but to automate it and to run it continually. Of necessity this entails some up-front investment in time and resources – even if you opt to use open source tools for an integration server, you’re still going to require a dedicated box to run it on. Just as important, as this book makes plain, you’re going to have to spend time building a ‘clean’ environment free of those hidden dependencies that lurk on developers’ machines. At the very least, the ‘it builds fine on my machine’ conversations should be banished forever.

There are other benefits to be had too, and the first part of this book goes through these in some detail. Most are fairly obvious, but for those seeking ammunition to persuade others of the benefits there’s plenty here to back up your arguments. It’s important to understand that a continuous integration process can include much more than compiling and linking source code and libraries, it can include running unit tests, checking code for conformance to standards, deploying the application, running static analysis tools and so on.

While the first part of the book looks at principles and practices, the second part of the book looks in more detail at each of these major classes of integration: automated builds, database integration, unit testing, code coverage and so on. Where having an automated build that is triggered by changes to source checked into your source control database is the starting point, the author makes plain that this is only a beginning and that continuous integration should extend well beyond program code but also include changes to database schemas, running test suites and so on. The emphasis on database changes in particular is useful, as this is a notoriously difficult area to get right.

Despite the breadth of material, this is still a fairly slim book, and it’s padded out with some odd rhetorical tricks (such as hypothetical conversations between developers that really add very little value to the text). The author avoids too much material that is specific to one platform or programming language, though in general there’s a tendency to plump for open source applications (Ant, Nant, Junit, CruiseControl etc). The emphasis is also on functionality, rather than on the details of how to get different applications to work nice with each other.

To finish off the book also includes a useful appendix which helps the reader develop evaluation criteria for choosing the different components of a continuous integration platform.

Continuous Integration: Improving Software Quality and Reducing Risk

Verdict: Overall this book provides convincing arguments in favour of a comprehensive continuous integration process.

Authors: Paul Duvall, Steve Matyas, Andrew Glover.

Publisher: Addison-Wesley

ISBN: 0321336380

Media: Book

List Price: £31.99

Current Reg price: £21.43 inc. VAT (discount 33%)

Buy this book at Register Books at Reg Developer's special discounted price (subject to change)!

Internet Security Threat Report 2014

More from The Register

next story
Microsoft on the Threshold of a new name for Windows next week
Rebranded OS reportedly set to be flung open by Redmond
Apple: SO sorry for the iOS 8.0.1 UPDATE BUNGLE HORROR
Apple kills 'upgrade'. Hey, Microsoft. You sure you want to be like these guys?
SMASH the Bash bug! Apple and Red Hat scramble for patch batches
'Applying multiple security updates is extremely difficult'
Business is back, baby! Hasta la VISTA, Win 8... Oh, yeah, Windows 9
Forget touchscreen millennials, Microsoft goes for mouse crowd
ARM gives Internet of Things a piece of its mind – the Cortex-M7
32-bit core packs some DSP for VIP IoT CPU LOL
Lotus Notes inventor Ozzie invents app to talk to people on your phone
Imagine that. Startup floats with voice collab app for Win iPhone
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.