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)!

Secure remote control for conventional and virtual desktops

More from The Register

next story
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
prev story

Whitepapers

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.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
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.