Software has too many cases to test them all. A few dozen settings combine into billions of configurations; a handful of features interact in countless ways. You can't run every test â your CI pipeline would never finish, and your bill would be enormous.
So you choose. Each test you could run covers some set of requirements â code paths, feature combinations, edge cases. The goal: pick the fewest tests that together cover every requirement. Run those, skip the rest, and you've kept your safety net while slashing time and cost.
That's optimal test selection, and it's the set-cover problem wearing a QA hat: cover a universe of requirements with as few "sets" (tests) as possible. And, like set cover, it's NP-hard.
Comments
Loading comments...