Choosing UAT test cases by risk after AI made the suite grow
The author, a QA engineer and project manager at the business video media PIVOT, describes how the test cases for the company's iOS and Android app kept growing after they began to be written with AI. To cut the work before release, the team chose which cases to run using risk-based testing (RBT)[1], because one release had 277 cases to run in acceptance testing (UAT)[2]. Test cases also serve as specifications: their definitions are kept in GitHub, and a separate run record is created in Notion for each release.
With feature-level impact multiplied by probability, five past releases ran 809 of 980 cases (83%) and caught 11 of 13 defects. Running every variant of every condition caught all the defects but kept 92% of cases, so the team accepted about 80% and some remaining risk. In a release that split the iOS app into modules, feature-level grouping produced 1,339 candidates, so the team set impact for each acceptance criterion[3] on a four-level scale from S1 to S4, based on what the user loses when it fails. Even so, the first allocation still left 1,046 cases, so for criteria at S3 and S4 with probability 2 or 1, only the conditions that had caused defects before were run.
Selection is handled by a Claude Code skill[4] that gathers the pull requests, asks the author to confirm the probabilities, selects cases with a script, and creates the Notion run record; if the skill and the rules document disagree, the document wins. For the multi-module release, the rules produced 628 cases, a figure from before one rule was added for S4 criteria. Skipped criteria and the reasons for skipping them are now recorded, and the time freed up goes to exploratory testing.
Sources
-
JPZenn JA
AIで膨らみ続けるテストケースを、リスクベースドテストで選んで回すまでの記録


