{"id":18863027,"url":"https://github.com/fdefelici/vscode-clove-unit","last_synced_at":"2025-04-14T13:06:08.729Z","repository":{"id":42568771,"uuid":"466867881","full_name":"fdefelici/vscode-clove-unit","owner":"fdefelici","description":"CLove-Unit Testing Extention for VSCode","archived":false,"fork":false,"pushed_at":"2023-04-16T15:51:34.000Z","size":407,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T15:15:08.568Z","etag":null,"topics":["clove-unit","testing","vscode","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/fdefelici.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-06T22:03:49.000Z","updated_at":"2023-06-25T08:18:59.000Z","dependencies_parsed_at":"2023-01-18T15:30:15.377Z","dependency_job_id":null,"html_url":"https://github.com/fdefelici/vscode-clove-unit","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdefelici%2Fvscode-clove-unit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdefelici%2Fvscode-clove-unit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdefelici%2Fvscode-clove-unit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdefelici%2Fvscode-clove-unit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdefelici","download_url":"https://codeload.github.com/fdefelici/vscode-clove-unit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223634012,"owners_count":17176872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clove-unit","testing","vscode","vscode-extension"],"created_at":"2024-11-08T04:36:28.412Z","updated_at":"2024-11-08T04:36:29.042Z","avatar_url":"https://github.com/fdefelici.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLove-Unit Testing Extension for VSCode\n\n[![version](https://img.shields.io/visual-studio-marketplace/v/fdefelici.vscode-clove-unit?color=blue\u0026label=latest)](https://marketplace.visualstudio.com/items?itemName=fdefelici.vscode-clove-unit) [![install](https://img.shields.io/visual-studio-marketplace/i/fdefelici.vscode-clove-unit?color=light-green)](https://marketplace.visualstudio.com/items?itemName=fdefelici.vscode-clove-unit)\n\nThe CLove-Unit Extension adds a UI boost for [CLove-Unit](https://github.com/fdefelici/clove-unit) C/C++ testing library.\n\n![Clove test run result](./sample/images/header.png)\n\n\u003e Still don't know about [CLove-Unit](https://github.com/fdefelici/clove-unit) testing library?\u003cbr /\u003e\n\u003e It's a Single Header Unit Testing library for C/C++ language, which make easy developer life. Give it a try! ;-)\n\n## Extension Activation\nIn order to activate the extension:\n1. First, you need to handle a C/C++ testing project using `CLove-Unit` following the library development [guidelines and samples](https://github.com/fdefelici/clove-unit). (This UI Extension doesn't include CLove-Unit library)\n1. Then, create in your workspace the extension configuration file `.vscode/clove_unit_settings.json` (see `Extension Configuration`)\n1. Finally, open the workspace folder with VSCode (if you created the configuration within VSCode IDE, make sure to close and re-open it)\n\n## Extension Configuration\nThe extension needs the following configuration in the `.vscode/clove_unit_settings.json`\n\n|Property|Description|\n|--------|-----------|\n| `testSourcesPath` | Workspace relative path to test sources |\n| `buildCommand` | A shell command to build a test executable (OPTIONAL) |\n| `testExecPath` | The path to the test executable |\n\n## Extension Usage\nHere an example of project developed with `CLove-Unit` library and related UI Extension Configuration.\n\n\u003e You can find this example project [here](./sample). \n\n### Filesystem\nProject organization for this example:\n```\n.vscode/\n\tclove_unit_settings.json\n\nbin/\n\ttest.exe (produced when launching tests - see Configuration)\n\ninclude/\n\tclove-unit.h (the library, you must include it by yourself)\n\nsrc/\n\ttest1.c\n\ttest2.c\n```\n\n\u003e NOTE: You can organize your project within the vscode workspace as you prefer. No constraints on this. \n\n### Configuration:\n`.vscode/clove_unit_settings.json` configuration for this example:\n```json\n{\n    \"testSourcesPath\" : \"src\",\n    \"buildCommand\" : \"clang -I include -o bin\\\\test.exe src\\\\*.c\",\n    \"testExecPath\" : \"bin\\\\test.exe\"\n}\n```\n\u003e NOTE: You can use your own configuration and preferred build command. In case, test project build is already managed by your IDE (or by other extensions) you can skip `buildCommand` configuration (either by removing the attribute or by configuring as an empty string).\n\n### Test UI:\nTest UI will appear like this:\n\n![Clove test run result](./sample/images/example.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdefelici%2Fvscode-clove-unit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdefelici%2Fvscode-clove-unit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdefelici%2Fvscode-clove-unit/lists"}