Ative at Work

Agile software development

Ative at Work

Going Agile - Setting a Minimal Professional Standard

Many agile processes are just that: Processes. However, one of the keys to success that is often overlooked is the technical project infrastructure, and the discipline and craftsmanship required by the team. While agile is lightweight it also sets the entry level for professional standards higher than many organizations are used to.

It is all about setting a standard for quality and craftsmanship with zero tolerance for defects.

First of all we gain a big win by moving every artefact required to build the project into a source control system and creating a build script to assemble it all. Gone will be the days of “but it works on my machine”. It may seem obvious but for many projects even this is lacking.

The second step is building something that is installable. This means eliminating the waste of lengthy instructions on how to set up the system properly and replacing them with a script. This way it is easy to deploy the project frequently and without error. The frequent configuration problems that that pop up in complex environments with much manual configuration will be curbed.

Together, this enables us to know what we have, build it and deploy it in a controlled, repeatable manner with a single click or command.

So far, it does not take rocket science - just a bit of discipline.

Then, the next level of professional decency is to apply automated unit testing. Taking a test-first approach will give us a massive quality boost and also, as a secondary effect, a much better architecture. Poorly designed systems are so hard to test that test-first will force us to create better designs.

Needless to say, the tests should be run as part of the build and a failed test treated as a stop-the-line issue. There is no point in completing the build and deploying a system to a test environment when we already know that the application does not work. Instead, bugs should be fixed immediately when they are discovered.

All these steps can be done by the developers alone.

The next step is to introduce automated integration or acceptance testing. Here we engage the customer in defining the test cases. These tests are also run as part of the build. There are many levels of this spanning from integration testing below the GUI level using tools like FIT ( or through the user interface using frameworks like Selenium (for web applications - The secret is to use simple tools and avoid the kind of brittle tests that break when underlying data changes or someone changes a few controls in the UI.

Applying automated acceptance testing is a long process. Many times it is practical to start with a small piece like a “smoke test” that tests a few central use cases that exercise the key elements of the system to provide a first-order estimate of its quality. For example when we worked on a system with a distributed object database we had a smoke test that validated that the changes made on one workstation were replicated to the its peers in the local network and to other notes at remote sites. This allowed us to quickly discard a lot of bad builds before spending a lot of time and effort going through the more complex test scenarios.

The key is to reduce the cycle time by not allowing ourselves to build bugs into the code: the sooner we know that the software is broken, the sooner we can fix it. Less bugs means more finished software, less work-in-progress, less risk, lower costs, shorter time-to-market and higher flexibility.

All in all that is not a bad result for applying a little professional discipline. It is the starting point for agile development.

(Updated 13. Dec 2006 - improved formatting.)



Jon Angelo Gjetting said:

John Nack the product manager of Photoshop reports that adobe is modernizing the dev. cycle on their flagship product. Read his publicity blurp here:

A less diluted and slight more vitamin full version in this interview here:

PS. The interview makes me wonder about two things:

1.) Now... Now! first now Adobe begins to balance quality and features. Cutting dev. time and reducing bugs. Better late than never.

2.) Is the word bugalanch is actually buzzword compliant. Is it a miss spelling of Buggala (the big inland lake island in Uganda) or a typo of a bug-avalanche?

What are you clever guys take on this.


marts 10, 2007 1:17

About Martin Jul

Building better software faster is Martin's mission. He is a partner in Ative, and helps development teams implement lean/agile software development and improve their craftmanship teaching hands-on development practises such as iterative design and test-first. He is known to be a hardliner on quality and likes to get things done-done.
© Ative Consulting ApS