Prioritize Test Automation by Risk and Reusability

Most teams starting a test automation project ask “what should we automate” and answer it by covering whatever’s easiest to script first. One case study in Graham and Fewster’s Experiences of Test Automation takes a more deliberate approach worth borrowing. The team modeled the application as a set of individual components, treated like puzzle pieces, then mapped how those pieces combined into full paths through the system. Their example showed five components combining into more than twenty distinct paths through the application, each with a different level of business risk attached. Instead of automating in build order, they prioritized by risk, reusability, and complexity, starting with the paths that mattered most to the business rather than the ones that were simplest to write. The underlying principle holds regardless of tooling: coverage decisions should be driven by where the actual risk lives in the application, not by which test happens to be easiest to write this sprint. The manual version of this exercise takes real time, workshops, whiteboards, stakeholder interviews to identify what the highest-risk paths even are. That’s the specific piece an application-mapping approach can shortcut: it identifies the paths by observing the application directly instead of requiring a team to model them by hand first. #TestAutomation #QAEngineering #SoftwareTesting #EngineeringLeadership

To view or add a comment, sign in

Explore content categories