r/softwaretesting • u/Disastrous_Phone_168 • Sep 29 '26
AI testing
I need guidance from someone who has experiences testing LLM, or products from AI.
What should I study to do a better job?
Im manual and automation tester with more than 6 years of experience, but with AI I feel I litter bit lost about the testing side.
Thanks.
23
Upvotes
4
u/ign1tio Sep 29 '26
are you testing products with AI/LLM as part of how the product work? Meaning you test the model and its output? You can download the syllabus to CT-AI: https://istqb.org/certifications/certified-tester-ai-testing-ct-ai/ should be a fine place to start.
4
u/Deep_Answer2295 Sep 30 '26
https://astqb.org/certifications/testing-with-generative-ai/ download their free syllabus
take a look at the different ways to test LLM's: example: a/b testing, adversarial Attacks and Data Poisoning, Testing the Transparency, Interpretability and Explainability of AI-based Systems, etc.
Yes, it is different than other testing, you need to understand the model first - probabilistic vs. deterministic for example. I suggest review the GenAI syllabus first, then the AI Tester
I train my team for these ASTQB Certifications - It's worth the study time and is one of those force multipliers which goes a long way.
1
u/contextmatterss Sep 29 '26
Start with the basics of LLM evals, hallucinations, prompt testing and testing outputs that can change from one run to the next. A lot of the testing mindset still applies, you just have to get used to AI not givng the exact same answer every time
1
u/Rinimand Sep 29 '26
How you approach it will depend on whether you are actually test an LLM directly or testing an application that is using AI.
If testing an app that is using AI, split it into the portions which are deterministic versus probabilistic. Deterministic portions are those where the expected result can be prediced; your can use traditional testing methods for those. Probabilistic portions rely on the AI to decide how to respond, and won't always produce the same result; thus, traditional testing methods won't work. Approach these using statistical methods to evaluate success, and use that as Pass and Failure. I look at it similar to performance testing. Not every request will produce a satisfactory result. But if "enough" of them do, will decide the performance is a Pass. 1000 requests, but 5 of them failed or timed out? No problem: doesn't cross the threshold of 3% failure we set, so Pass. Some requests took longer than others, but 90% were within our threshold of acceptance? No problem, it's a Pass. Think about baking a cake. You follow the same recipe 100 times. 80% come out good, 15% come out great, but 5% come out tasting horrible. Are you s failure as a cook? No. The hard part is determining those acceptance metrics.
1
u/midKnightBrown59 Sep 30 '26
You go from RAGs to Riches.
1
u/Silly_Turn_4761 Sep 30 '26
Be sure to test for prompt injection vulnerabilities and any other guardrails that 'should' be in place.
Also, depending on the set up and assuming there is data that it should not be able to access, youll want to test that too.
1
u/ivorygolden Oct 02 '26
Start with LLM basics, prompt testing, hallucinations and eval
1
u/Moist-Ranger-572 Oct 03 '26
Read more on behaviour evals
1
u/Nirvana012527 Oct 18 '26
1
u/Confident_Memory_777 Oct 19 '26
I would start by learning more about AI in general. This book focuses more on developing with AI, but I think it is a helpful starting point.
https://www.youtube.com/watch?v=dHIppEqwi0g
https://beyond.addy.ie/
I think more people are going to be testing systems developed by AI, than who are testing AI models themselves.
1
u/[deleted] Sep 29 '26
[removed] — view removed comment
0
u/[deleted] Sep 29 '26
[deleted] — view deleted comment