Making Good Software

A blog by Alberto G (Alberto Gutierrez)

Archive for June, 2010

Waterfall vs Agile: Development and Business

with one comment

FYI:

The second part of the post Waterfall Vs Agile, has just been published in DZone, follow the link to read it…

Waterfall vs. Agile: Development and Business

Written by Alberto Gutierrez

June 15th, 2010 at 2:03 pm

QDD (QA Driven Development). How QA should be…

with 3 comments

Historically QA is been considered the last stage of software development, and QA testers have been seen as not necessarily qualified people, that all they need to do is to run manual or some automated UI tests over applications handed over by development.

This classic approach is somehow still used even in several agile projects, and it has many inconveniences:

  1. QA becomes a certification/cop department that adds very little value to Development.
  2. It only assures the quality of the final product, but not the quality of the code.
  3. It creates the illusion that software can be created without bugs.
  4. It’s not synchronized with the business needs, but with the requirements contract.

QA should switch to a new paradigm, QDD – QA Driven Development. In QDD the main role of QA should be to engage with development and the customer.

In order to achieve this new paradigm, QA should:

  1. Review not only the final product, but also the code. The code is the big gap in classic QA. It is never itself checked for quality. Low quality code will make the maintenance of the application a nightmare.
  2. Be involved in the day to day of development. QA should be present in every single important decision taken during development. They should also be aware of what the code looks like through daily code reviews or pair programming.
  3. Have qualified and skilled employees. QA should drive the development, and that requires QA personnel to be very skilled and qualified.
  4. Keep continuously updating the customer. QA should make sure that the application as it’s developed is fulfilling the customer’s expectations. It should also be their duty to guarantee that new requirements are identified, and also to identify previous requirements that are not necessary anymore.
  5. Decide when a feature is completed. As the top part of the pyramid of software development, QA is the most qualified member to decide when a feature is completed.
  6. Create a comprehensive suite of automated tests. QA should aim to cover as much as possible with automated tests, this will guarantee that regression testing should be easy to perform for each new feature.
  7. Handover requirements to development. QA should have the best understanding of both, technical and non technical aspects of the application. That is what will make them the perfect candidates to handover new requirements.
  8. Have formal authority over development. None of the previous points would be possible is QA is not given formal authority over development.

Based on these characteristics, QA personnel will have to be well trained in computer science, actually, QA should be an specialization of software development, and not a completely different branch. An ideal candidate for QA then should be a seasoned developer, with coach and lead abilities.

Of course to move to QDD there are very big challenges, being the three most importants:

  1. Companies that have QA infraestrucutres and personnel not fitted for this new paradigm, and not wishing to lose their investment.
  2. Developers not willing to become QA.
  3. Companies are afraid of the over cost of switching non-qualified QA people for skilled developers.

While these are important factors to overcome, in my opinion switching to this new QA paradigm will bring benefits in the mid/long run as the quality of the applications delivered will grow exponentially.

Written by Alberto Gutierrez

June 7th, 2010 at 5:23 am

Waterfall vs Agile: Can they be friends?

with 3 comments

To all my readers.

I’ve been honoured to author an article for dZone, “Waterfall vs Agile: Can they be friends?” If you follow the link you should be able to read it.

Thanks!

Written by Alberto Gutierrez

June 2nd, 2010 at 7:31 am