β¨ Why This Tool is a Game Changer
β‘ One Command Setup
Automatically configures Google Test, CMake, and project structure in a single step.
π§© Clean CMake Layout
Separate executables for main_app and test_runner with shared library code.
π§ͺ Test Runner Menu
Menu-driven script: choose to run your app or tests every time you click Run in Replit.
π Organized Project
Auto-generates src/, tests/, and reusable library code (add_lib).
π§Ή Instant Cleanup
Cleanup script resets your Replit back to a fresh C++ template with a single command.
π Beginner Friendly
Perfect for students and professionals learning unit testing and TDD on Replit.
β‘ One Command Installation
Open the Shell tab in your Replit C++ project and paste this:
This will automatically:
- β Install Google Test & CMake in Replit
- β
Create
src/andtests/folders with example files - β
Configure
CMakeLists.txtwithmain_appandtest_runner - β
Generate
run_main.sh,run_tests.sh, and menu-basedrun_select.sh - β Wire the Replit Run button to the interactive menu
π§Ή Cleanup & Restore Default
Want to revert your Replit project back to a clean C++ template?
This will remove all GTest/CMake files, runner scripts, and restore a simple main.cpp with
Hello World.
π¦ Download & Source Code
Prefer to explore the code locally or customize the installer?