Published online by Cambridge University Press: 26 October 2009
SYNOPSIS
This case study examines the practical application of Java mock object frameworks to a system integration project that used test-first development and continuous computer-aided software testing (CAST).
Mock object frameworks allow developers to verify the way in which units of software interact – by replacing any dependencies with software that simulates them in a controlled manner. The case study explores the problems encountered with this approach and describes the subsequent development of SevenMock – a simple new framework that overcomes many of these issues.
Introduction
My name is Colin Cassidy. I'm a software architect for Prolifics – a systems integration company that specializes in IBM technologies. Coming from a software development background, I have ten years' experience in the IT industry. I have performed a number of roles, including software architect, systems analyst, developer, and development process engineer. This has been mainly in the retail, telecom, and finance sectors.
My interest in software testing stems from a desire to build better software and to find better ways of building that software. Having practiced development and testing on a number of project types ranging from the very agile to the very structured, I have experienced the problems caused by too much automated testing as well as those caused by too little.
This case study describes a Java system integration project that used test-first development and continuous automated regression testing.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.