RAG-Based Testing Series — Part 4: Edge Cases — What Breaks RAG & How to Catch It

"Your users will never read your happy path. They will, however, find every single edge case you didn't test."

In Part 2, we tested retrieval quality — making sure the right documents are fetched.

In Part 3, we tested faithfulness — making sure the LLM uses what it retrieves instead of making things up.

Both of those tests assume one thing: the system is being used as intended.