Software verification is a process of implementing and conducting automated tests created against its specification, whereas software validation is a process of putting our assumptions against real world scenarios. We have done a lot recently in the area of popularising TDD whereas we should still do much more to validate software better.
One of the cheapest ways to validate software is to test it against actual production data, where bouncing our concepts off users or market might be more expensive. Yet one of the worst practices in software development, and a mistake made over and over again, is developing on a terribly outdated environment, or directly in production environment.
Many developers code against artificial (fake) set of data, ignoring by design any inconsistencies in real world data. This obviously delays discovery of important issues both in code as well as in design itself. In fact having a great test environment is one of the most productive tools a developer should demand in every single project.
Therefore not having the real world test environment is a greater mistake to make than not having a detailed specification instead. Worst still, where well defined user stories act as substitute for detailed specficiation, the use cases are useless if the system manipulates existing data and the risk of corrupting production data increases.
Yet time and again, developers agree to compromise on providing solid, representative test environment to develop new features in order to integrate them with existing systems in production. Sometimes it is due partial knowledge of what makes an environment truly representative but more often than not it is the argument of not having enough resources to create another test environment in order to maintain it daily "just" for convenience of development team.
Just by the virtue of knowing that there is no up to date environment to freely verify the development work against, makes the development work terribly slow. Developers tend to test the code only after the data is just refreshed, or procrastinate developing new concepts in order to favour defensive coding instead. The most common output is a product that is far more limited than it could be, developed in much longer pipeline that it should.
- Comments
- Leave a Comment