本文へスキップ
Kitbay
MCPサーバー

UnitTest_Generator_MCP

ローカルで動作2026年3月21日 更新3GitHubスターデータ変更可

A local Python MCP server that helps an assistant write and check Google Test suites for C and C++ code.

このサーバーについて

A local Python MCP server that helps an assistant write and check Google Test suites for C and C++ code. It parses source files with libclang to report function signatures, class members and types, lists existing GTest suites to show gaps, and offers a baseline of boundary values and MC/DC conditions for the assistant to design tests from. The assistant writes the test bodies, the server merges them into a GTest file, then builds and runs them with CMake and Make and measures coverage with LCOV, returning a summary and an HTML coverage report. The documented workflow pauses for the user to approve the strategy and the generated code.

できること

  • Analyse C and C++ source with libclang
  • Find gaps in existing Google Test suites
  • Suggest boundary values and MC/DC conditions
  • Generate a GTest file from assistant-written test bodies
  • Build, run and measure coverage with CMake, GTest and LCOV