r/softwaretesting • • 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

26 comments sorted by

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.

2

u/Useful-Might-4234 Sep 29 '26

Can you please elaborate the next steps as in from where to study the topics?

2

u/ign1tio Sep 29 '26

you can download syllabus there. You can take the exam if you wish

2

u/Useful-Might-4234 Sep 29 '26

Any course or yt channel where i can study the topics from?

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. 

2

u/Silly_Turn_4761 Sep 30 '26

I see what you did there 😏

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
with a feature flag off, test both the visible behavior and what's registered behind the scenes. a disabled button isn't enough if the endpoint or handler can still be reached.

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

1

u/softwaretesting-ModTeam Oct 02 '26

Commercial links, self-promotion, and vendor spam are strictly prohibited and will result in Ban without warning! Do not post links to tools, training, corporate blogs, or book vendors. Name-only discussion of resources is permitted. Course instructors and industry professionals are welcome to contribute, but you must follow Reddit's 90/10 rule. Tool vendors and QA agency employees may not participate.

0

u/[deleted] Sep 29 '26

[deleted] — view deleted comment

1

u/Disastrous_Phone_168 Sep 29 '26

How do you test the hallucinations? That it's the part I see more complicated.

1

u/Few_Still_3226 Sep 29 '26

Why should you test hallucinations? You should be able to detect hallucinations and reasoning errors from the LLM output. There are different approaches for that

1

u/Disastrous_Phone_168 Sep 29 '26

No no, sorry. I wanted to ask HOW, but somehow I wrote why. My question is: how to you test hallucionation? Sorry for the mess

3

u/Few_Still_3226 Sep 29 '26

I recommend reading the Gen-AI ISTQB syllabus, it covers everything regarding the usage of AI for testing

1

u/softwaretesting-ModTeam Oct 02 '26

Commercial links, self-promotion, and vendor spam are strictly prohibited and will result in Ban without warning! Do not post links to tools, training, corporate blogs, or book vendors. Name-only discussion of resources is permitted. Course instructors and industry professionals are welcome to contribute, but you must follow Reddit's 90/10 rule. Tool vendors and QA agency employees may not participate.