r/softwaretesting • u/gorsleo21 • May 05 '26
PR Risk Assesment With AI
Hi,
In the company I am working, we are trying to create an automated pr risk assessment system. Indeed my first objective is, my tool will analyze code diffs from bitbucket or smt, then according to that difference it will decide which xray tests are being affected. It actually means that I am trying to find which part of ui is being affected by that change. I am still at uni and working as a part time student, so I do not have much experience to design that. Yet, I am eager to learn so I am ready to discuss your ideas.
0
Upvotes
1
u/BoringScrolling3443 May 05 '26
I follow a different approach
If you have test coverage you also know that, if a test increased the coverage of a file, that's the test that should run when that file is modified in a PR
I generate this "coverage-map" report once daily in a cron workflow, and then it is read in each PR to decide which tests need to run based on the PR files
1
u/[deleted] May 05 '26
[removed] — view removed comment
1
u/[deleted] May 06 '26
[removed] — view removed comment
1
u/[deleted] May 06 '26
[removed] — view removed comment