Friday, 20 May 2011

Automated Tests - you on a lot of good days

Automated testing is something of a contentious subject which invokes a lot of passion in the testing community and much is written on the dangers of automated testing and the risks of employing automation in testing. I'm certainly of the opinion that automation is something that should not be undertaken lightly. The costs involved in getting it wrong can vary from wasted time and effort up to an artificially high level of confidence in the system under test. While the potential pitfalls of automation receive a lot of attention, on the flipside I think that one of the key potential benefits of automation can be easily overlooked.

A snapshot of knowledge



When I pick up testing on a feature, my understanding of that area and the context in which it operates increases dramatically as I immerse myself into the testing of that area. For the period in which I am testing that feature, I am holding in my head far more information on it than if I was coming at it cold. As my understanding increases my exploratory tests improve and my ability to identify key tests to ensure the correct operation of that feature increases. If, at this point, I am able to encapsulate some of that knowledge into a set of automated tests, in essence I am capturing a snapshot of that elevated state of understanding. As I move onto other features my understanding of that feature will fade. The tests that I designed at the time will not. Well designed automation will repeatedly check aspects of the product that I thought were important at the time that I best understood that area and customer requirements that drove its development.

On many occasions I review test suites which focus on areas that I have not worked on in a while and find myself quietly impressed at the understanding of that area that I must have had at the time of creation.

There is an advert running in the UK at the moment for a vitamin supplement that claims to help you be you on a "really good day". I'm not suggesting that automation will ever replace the insights of a skilled tester, but a well designed test pack can capture small glimmers of that insight when at its highest to use to drive ongoing checks. You on lots of "really good days".

Copyright (c) Adam Knight 2011

No comments:

Post a Comment

Thanks for taking the time to read this post, I appreciate any comments that you may have:-

ShareThis

Recommended