{"id":32122446,"url":"https://github.com/bneumann/cpputest-test-adapter","last_synced_at":"2026-04-10T10:09:00.733Z","repository":{"id":42467835,"uuid":"224843262","full_name":"bneumann/CppUTest-Test-Adapter","owner":"bneumann","description":"A test adapter for Visual Studio Code for the C/C++ Unit Test framework CppUTest.","archived":false,"fork":false,"pushed_at":"2025-12-18T18:36:02.000Z","size":1631,"stargazers_count":18,"open_issues_count":10,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-21T15:39:27.149Z","etag":null,"topics":["c","cpp","cpputest","unit-testing","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bneumann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-29T11:42:25.000Z","updated_at":"2025-12-18T18:35:28.000Z","dependencies_parsed_at":"2025-11-18T10:02:59.558Z","dependency_job_id":null,"html_url":"https://github.com/bneumann/CppUTest-Test-Adapter","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":"hbenl/vscode-example-test-adapter","purl":"pkg:github/bneumann/CppUTest-Test-Adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bneumann%2FCppUTest-Test-Adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bneumann%2FCppUTest-Test-Adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bneumann%2FCppUTest-Test-Adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bneumann%2FCppUTest-Test-Adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bneumann","download_url":"https://codeload.github.com/bneumann/CppUTest-Test-Adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bneumann%2FCppUTest-Test-Adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cpp","cpputest","unit-testing","vscode-extension"],"created_at":"2025-10-20T20:48:29.139Z","updated_at":"2026-01-22T09:01:36.180Z","avatar_url":"https://github.com/bneumann.png","language":"TypeScript","readme":"# CppUTest Test Adapter for Visual Studio Code\n\n[![Tests](https://github.com/bneumann/CppUTest-Test-Adapter/actions/workflows/unit_tests.yml/badge.svg?branch=master)](https://github.com/bneumann/CppUTest-Test-Adapter/actions/workflows/unit_tests.yml)\n\u003ca href=\"https://ko-fi.com/B0B836FAL\"\u003e\u003cimg src=\"img/kofi.png\" width=\"104px\"\u003e\u003c/a\u003e\n\n\nA Visual Studio Code extension that integrates the [CppUTest](https://cpputest.github.io/) C/C++ unit testing framework into VS Code's Test Explorer. Run, debug, and manage your CppUTest tests seamlessly within your development environment.\n\n---\n\n## Features\n- **Run and debug** CppUTest tests directly from VS Code.\n- **Supports multiple test executables** and wildcards for flexible test discovery.\n- **Pre-launch tasks** to build tests before execution.\n- **Logging support** for debugging and troubleshooting.\n\n---\n\n## Setup\n\n### 1. Configure Test Executables\nAdd the following to your VS Code `settings.json` to specify your test executables:\n\n```json\n{\n  \"cpputestTestAdapter.testExecutable\": \"${workspaceFolder}/test/testrunner;${workspaceFolder}/test/subFolder/ut_*\",\n  \"cpputestTestAdapter.testExecutablePath\": \"${workspaceFolder}/test\"\n}\n```\n\n- ```testExecutable```: Path(s) to your test executables. Supports wildcards (*) and semicolon-separated lists.\n- ```testExecutablePath```: Working directory for running tests. If not set, each executable runs from its own directory.\n\nBoth settings support the ```${workspaceFolder}``` variable. \n\n## Pre-Launch Task (Optional)\n\nTo rebuild your tests before running, define a task in tasks.json and reference it:\n```json\n{\n  \"cpputestTestAdapter.preLaunchTask\": \"build-tests\"\n}\n```\n## Logging\nEnable logging for debugging:\n\n```json\n{\n  \"cpputestTestAdapter.logpanel\": true,\n  \"cpputestTestAdapter.logfile\": \"C:/temp/cpputest-adapter.log\"\n}\n```\n- logpanel: Shows logs in VS Code's Output panel (\"CppUTest Test Adapter Log\").\n- logfile: Saves logs to a file. Use absolute paths and ensure the directory exists.\n\n## Debugging\nTo debug your tests, configure your launch.json like you would with any debugger (in this case gdb):\n\n```json\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Debug CppUTest\",\n      \"type\": \"cppdbg\",\n      \"request\": \"launch\",\n      \"program\": \"${workspaceFolder}/test/testrunner\",\n      \"args\": [],\n      \"stopAtEntry\": false,\n      \"cwd\": \"${workspaceFolder}\",\n      \"environment\": [],\n      \"externalConsole\": false,\n      \"MIMode\": \"gdb\",\n      \"miDebuggerPath\": \"/path/to/gdb\"\n    }\n  ]\n}\n```\n- The adapter automatically attaches to the test process.\n\n## Contributing\nContributions are welcome! Feel free to open an issue or submit a pull request.\n","funding_links":["https://ko-fi.com/B0B836FAL"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbneumann%2Fcpputest-test-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbneumann%2Fcpputest-test-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbneumann%2Fcpputest-test-adapter/lists"}