Verification and validation at every loop of the H
Every feedback loop in the H, from a personal build to a strategic goal, is a point at which we can ask two questions. Did we build it right: does the output match the requirement, the acceptance criteria, the example, the plan? That is verification. Are we building the right thing: is the customer getting what they want and will they accept it? That is validation. The V-Model paired each level of decomposition with a level of testing once, at the end. The H-Model does the same pairing, but at every loop and continuously.
At the smallest loop, verification is unit tests, static analysis and a pair or mob looking at the same screen, and validation is a developer showing a Product Customer something half-built and asking “like this?”. At a product release it is system tests, contract tests against the interfaces other teams depend on, exploratory testing and a demo. At a Product Family release it is Integration Scenarios proven end to end across several products. At portfolio level it is user acceptance and value measured in production. At the top, validation is the only question left: is the goal still the right goal?
Two rules follow from this picture.
Push every change as high up the stack as it will go, as often as you can. It is a mistake to save higher-level testing for major releases. If an integration test across an entire Product Family can be run cheaply as part of an automated build at the lowest level of done, run it there. The earlier a team finds out whether a build is a potential release candidate, the better. The Definitions of Done stack exists to make “how high did this get?” a precise statement rather than a feeling.
Focus on quality risks, not on coverage for its own sake. There are many kinds of testing: functional, non-functional, security, accessibility, usability, installation, performance, recovery. Choose the ones that address the risks the business actually has, as described by the requirements stack and the Product Customers. The architectural profile is a good place to start: quality risks cluster in the high-complexity dimensions.
Quality is designed in long before anything is tested. Decomposing requirements with users rather than for them avoids building the wrong thing. Sketching solution architecture with Business Customers and system architecture with a technically minded Product Customer builds quality into design. Good architecture is the foundation of quality; the wrong architecture undermines every testing effort that follows. Pair and mob development, test-driven development and continuous integration catch Problems minutes after they are made. None of these is “a quality activity”. All of them are.
Related
- Definitions of Done: the stack that says how high a change has got
- Shift left, shift right: the same rule applied at both ends of the pipeline
- Architectural profiling: where quality risks cluster