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