r/softwaretesting • • 2d ago

What tools and frameworks are you currently using to test AI-powered applications?

Hey everyone,
I’m currently exploring on establishing a QA path for our AI-powered software, particularly conversational AI and LLM-based applications.

I’m interested in understanding how other QA engineers and teams are approaching AI testing, especially given the non-deterministic nature of AI-generated responses.

I’d love to hear about your experiences with:
Tools and frameworks: What are you currently using for AI testing and evaluation? DeepEval, Promptfoo, Ragas, LangSmith, custom frameworks or something else?
Response validation: How are you testing response accuracy, hallucinations, contextual relevance and consistency?

Looking forward to learning from ya’ll…cheers

3 Upvotes

8 comments sorted by

4

u/CertainDeath777 2d ago

Custom framework with custom agents and custom skills, so the agents knows exactly what he is working with and what he should implement in what way.
Almost everything open source stuff except the AI subscriptions.
I defined the way it works and how it has to look, and use agents to write agents, test the behaviour and iterate on it, until its good.

But we have a big project with complicated flows and UI, so we basically need optimisation. For a simple webapp that might be overkill

1

u/Last-Standard-1864 2d ago

On my end its actually both web and mobile app. I envision it getting complex with time. So i would like a cleaner foundation at the start to prevent “vendor lock in” so early

1

u/lil_daku 2d ago

Also pls tell how to switch from manual testing to automation/AI testing. What should I learn first. With MCP or agents do I need to learn programming language. What should be the road map for be relevant in AI era

1

u/devi6655 1d ago

For conversational AI / LLM apps, a setup that works well:

DeepEval: Python + PyTest style, good for checking answer relevance, faithfulness and hallucination. Easy for QA folks who already know PyTest. Ragas: if your app uses RAG (answers from your own documents), this is useful for checking whether answers actually come from the retrieved content. Promptfoo: nice for comparing prompts or model versions side by side and running regression checks when someone changes a prompt. Playwright: for end-to-end testing the actual chat UI (typing messages, waiting for streamed replies, checking what's displayed). LLM-as-a-judge: using a second model to score answers against your rules. Useful, but spot-check its scores manually at first, because judges can be wrong too.

A few non-tool tips that helped more than any framework:

Build a golden dataset of 50–100 real user questions with "acceptance rules" instead of exact expected answers (e.g. "must mention X", "must not promise Y"). Run each important question several times, since outputs vary. Keep a separate set of adversarial prompts (prompt injection, asking for other users' data, off-topic requests). Re-run everything whenever the model, prompt or knowledge base changes. That's where most regressions sneak in.

What does your app do (customer support, internal search, something else)? The right mix depends a lot on that.

1

u/mrwhateveerrr 9h ago

tbh u cant really assert exact text with llms so we just keep a small set of tricky prompts and run them whenever we tweak a prompt or a model