GithubHelp home page GithubHelp logo

yagoor / cmock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from throwtheswitch/cmock

0.0 0.0 0.0 3.64 MB

CMock - Mock/stub generator for C

Home Page: http://throwtheswitch.org

License: MIT License

Ruby 21.71% C 59.97% Tcl 8.12% Assembly 9.73% Batchfile 0.43% Meson 0.04%

cmock's Introduction

CMock CI

CMock is a mock and stub generator and runtime for unit testing C. It's been designed to work smoothly with Unity Test, another of the embedded-software testing tools developed by ThrowTheSwitch.org. CMock automagically parses your C headers and creates useful and usable mock interfaces for unit testing. Give it a try!

If you don't care to manage unit testing builds yourself, consider checking out Ceedling, a test-centered build manager for unit testing C code.

Getting Started

If you're using Ceedling, there is no need to install CMock. It will handle it for you. For everyone else, the simplest way is to grab it off github. You can also download it as a zip if you prefer. The Github method looks something like this:

> git clone --recursive https://github.com/throwtheswitch/cmock.git
> cd cmock
> bundle install # Ensures you have all RubyGems needed

If you plan to help with the development of CMock (or just want to verify that it can perform its self tests on your system) then you can enter the test directory and then ask it to test:

> cd test
> rake # Run all CMock self tests

API Documentation

cmock's People

Contributors

mvandervoord avatar laurensmiers avatar jlindgren90 avatar barneywilliams avatar steinheselmans avatar malsyned avatar cloudsftp avatar dreamer-coding avatar skelliam avatar pwatt01 avatar tuc-an avatar chrishonson avatar andred avatar d-led avatar sw17ch avatar phonetagger avatar xenoamor avatar wojciechjasko avatar tbates-redarc avatar tz18 avatar jvranish avatar ollehu avatar merazmus avatar lgreve avatar art-of-dom avatar dmurdin avatar metc avatar cezarygapinski avatar austinbes avatar achsfy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.