How to Test AI Features
You're a CRM developer, ready to delight users with the long‑awaited "Generate a summary of the request" feature. The model dutifully produces a short text for the next agent — and every time it comes out different. How do you test that? In the past, we took the input data, compared it to a reference string in the expected result, and moved on. With AI, this trick falls apart: the model picks new synonyms each time, and the automated test starts turning red. Comparing the output to a memorized string is useless, and checking everything by eye will bore you to death. So how do you tame this chaos? Let's break down a working framework.