# `Jido.AI.TestCase`
[🔗](https://github.com/agentjido/jido_ai/blob/v2.4.0/lib/jido_ai/test_case.ex#L1)

ExUnit case template for public Jido.AI test helpers.

    defmodule MyApp.AgentTest do
      use Jido.AI.TestCase, async: true

      test "agent answers deterministically" do
        expect_react do
          user "hello"
          answer "hi"
        end

        result = Jido.AI.Reasoning.ReAct.run("hello", %{tools: []})
        assert_final_answer(result, "hi")
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
