BareGit
add_executable(agent_smith_test_skeleton
    test_agent.cpp
    test_llm_client.cpp
    test_message.cpp
    test_memory.cpp
    test_sse_parser.cpp
    test_skeleton.cpp
    test_tool.cpp
    test_tool_dispatch.cpp
)
if(AGENT_SMITH_TESTS_NEED_PYTHON)
    find_package(Python3 REQUIRED COMPONENTS Interpreter)
    target_sources(agent_smith_test_skeleton PRIVATE test_mcp_jsonrpc.cpp)
    target_compile_definitions(agent_smith_test_skeleton PRIVATE
        AGENT_SMITH_TEST_PYTHON="${Python3_EXECUTABLE}"
        AGENT_SMITH_MCP_FIXTURE="${CMAKE_CURRENT_SOURCE_DIR}/mcp_server_fixture.py"
    )
endif()
target_link_libraries(agent_smith_test_skeleton
    PRIVATE
        agent_smith::agent_smith
        GTest::gmock
        GTest::gtest_main
)
agent_smith_enable_test_sanitizer(agent_smith_test_skeleton)

include(GoogleTest)
gtest_discover_tests(agent_smith_test_skeleton)