{
  "id": 554952,
  "title": "Your Spring AI tests are slow, flaky, and cost money. Here's how to make them deterministic.",
  "url": "https://urgent.news/2026/08/11/your-spring-ai-tests-are-slow-flaky-and-cost-money-heres-how-to-make",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-11T10:07:48.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/rifatcakir/your-spring-ai-tests-are-slow-flaky-and-cost-money-heres-how-to-make-them-deterministic-1og7"
  },
  "original_language": "en",
  "account": null,
  "summary": "You wire up Spring AI, the ChatClient fluent API feels great, your feature works. Then you sit down to write a test — and every good option is bad. A test that calls a real model is: Slow. A hosted call is a second or two; run it on every branch and it adds up. Run inference locally (Ollama + Testcontainers) and a cold call is ~47 s. Either way it's not a loop you run on save. Expensive. Every…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}