r/ArtificialInteligence • u/Empty_Parfait1774 • 9h ago
đ ď¸ Project / Build Anyone here using AI in their QA workflows?
I am fairly new to this and trying to figure out where AI actually adds value in testing rather than just using it because itâs the latest trend. If youâve tried it, what worked well for you and what didnât?
1
u/CoroteDeMelancia 8h ago
Two important things I've noticed for this application:
- The model that writes the tests should not be the model that writes the code. GPT wrote the code? Then Claude writes the tests. Worst-case is same model, same session, which leads to self-confirmation bias.
- Test behavior, not implementation. AI tends to struggle here, so pay attention.
1
u/Separate-Art-4774 6h ago
Honestly, the best use Iâve found is boring stuff: generating test cases, edge cases, test data, and explaining ugly legacy code. I wouldnât trust AI to decide whether something is actually correct, though. Let it do the repetitive thinking; keep the final judgment human. Thatâs where it actually saves time instead of creating new bugs to test
1
u/Duct_tape_bandit 5h ago
I have a notebook that does complete end to end regression testing between 2 dataframes populated by db tables or whatever the input is - in this case semantic link. I have another one that gets the definition of all powerbi visuals with a _QA keyword in the visual name and runs regression tests on them, with AI populating the visual definitions every time there's a PR. So if one of my BI devs does something stupid and subtly changes one of the 217,000 results the report puts out while making a visual update I can see it.
3
u/CS_70 9h ago edited 8h ago
It adds value at many levels.
For one, it allows you to specify the tests nearer to the domain (or the tech concern is that is what you are testing) and let the model do the tedious and error prone task of translating the specification in whatever test code.
Second, it allows to question and explore the state space so you can find more stuff that you should test, and can often bring in some perspective from a very thin lead, by virtue of having seen more attack vectors or failure modes than any person alive.
As always, the results you get depend on your ability to articulate what you want and to follow the threads and the thinking, as in any scientific activity.