{"id":13419463,"url":"https://github.com/ThrowTheSwitch/CMock","last_synced_at":"2025-03-15T05:31:23.169Z","repository":{"id":2316626,"uuid":"3276848","full_name":"ThrowTheSwitch/CMock","owner":"ThrowTheSwitch","description":"CMock - Mock/stub generator for C","archived":false,"fork":false,"pushed_at":"2024-10-23T20:01:49.000Z","size":3845,"stargazers_count":676,"open_issues_count":90,"forks_count":273,"subscribers_count":52,"default_branch":"master","last_synced_at":"2024-10-24T06:24:58.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://throwtheswitch.org","language":"C","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/ThrowTheSwitch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2012-01-26T19:51:32.000Z","updated_at":"2024-10-23T12:45:34.000Z","dependencies_parsed_at":"2023-11-14T04:28:47.823Z","dependency_job_id":"af914214-37dd-4fc0-a18a-45b31927a8de","html_url":"https://github.com/ThrowTheSwitch/CMock","commit_stats":{"total_commits":694,"total_committers":82,"mean_commits":8.463414634146341,"dds":0.7363112391930835,"last_synced_commit":"379a9a8d5dd5cdff8fd345710dd70ae26f966c71"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThrowTheSwitch%2FCMock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThrowTheSwitch%2FCMock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThrowTheSwitch%2FCMock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThrowTheSwitch%2FCMock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThrowTheSwitch","download_url":"https://codeload.github.com/ThrowTheSwitch/CMock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221541884,"owners_count":16840115,"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":[],"created_at":"2024-07-30T22:01:16.387Z","updated_at":"2025-03-15T05:31:23.163Z","avatar_url":"https://github.com/ThrowTheSwitch.png","language":"C","readme":"CMock ![CI](https://github.com/ThrowTheSwitch/CMock/workflows/CI/badge.svg)\n=====\n\nCMock is a mock and stub generator and runtime for unit testing C. It's been designed\nto work smoothly with Unity Test, another of the embedded-software testing tools \ndeveloped by ThrowTheSwitch.org. CMock automagically parses your C headers and creates\nuseful and usable mock interfaces for unit testing. Give it a try!\n\nIf you don't care to manage unit testing builds yourself, consider checking out Ceedling, \na test-centered build manager for unit testing C code.\n\n - [Known Issues](docs/CMockKnownIssues.md)\n - [Change Log](docs/CMockChangeLog.md)\n\nGetting Started\n===============\n\nYour first step is to get yourself a copy of CMock. There are a number of ways to do this:\n\n1. If you're using Ceedling, there is no need to install CMock. It will handle it for you.\n\n2. The simplest way is to grab it off github. The Github method looks something like this:\n\n    \u003e git clone --recursive https://github.com/throwtheswitch/cmock.git\n\n3. You can also grab the `zip` file from github. If you do this, you'll also need to grab yourself a\ncopy of Unity and CException, because github unfortunately doesn't bake dependencies into the zip\nfiles. \n\nContributing to this Project\n============================\n\nIf you plan to help with the development of CMock (or just want to verify that it can\nperform its self tests on your system) then you can grab its self-testing dependencies, \nthen run its self-tests:\n\n    \u003e cd cmock\n    \u003e bundle install   # Ensures you have all RubyGems needed\n    \u003e cd test\n    \u003e rake             # Run all CMock self tests\n\nBefore working on this project, you're going to want to read our guidelines on \n[contributing](docs/CONTRIBUTING.md). \n\nAPI Documentation\n=================\n\n* Not sure what you're doing?\n\t* [View docs/CMock_Summary.md](docs/CMock_Summary.md)\n* Interested in our MIT license?\n\t* [View docs/license.txt](LICENSE.txt)\n* Are there examples?\n\t* They are all in [/examples](examples/)\n* Any other resources to check out?\n\t* Definitely! Check out our developer portal on [ThrowTheSwitch.org](http://throwtheswitch.org)\n","funding_links":[],"categories":["TODO scan for Android support in followings","C","Test Frameworks","目录"],"sub_categories":["Mocking and Hardware Simulation","实体书"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThrowTheSwitch%2FCMock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThrowTheSwitch%2FCMock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThrowTheSwitch%2FCMock/lists"}