Giter VIP home page Giter VIP logo

ceedling's Introduction

Ceedling - Build/test system for C based on Ruby/Rake

Ceedling Build Status

Ceedling is a build system for C projects that is something of an extension around Ruby’s Rake (make-ish) build system. Ceedling also makes TDD (Test-Driven Development) in C a breeze by integrating CMock, Unity, and CException -- three other awesome open-source projects you can’t live without if you're creating awesomeness in the C language. Ceedling is also extensible with a handy plugin mechanism.

Usage Documentation

Documentation and license info exists in the repo in docs/

Getting Started (Developers)

First make sure Ruby is installed on your system (if it's not already). Then, from a command prompt:

> gem install ceedling

(Alternate Installation for Those Planning to Be Ceedling Developers)

> git clone --recursive https://github.com/throwtheswitch/ceedling.git
> cd ceedling
> bundle install # Ensures you have all RubyGems needed
> bundle exec rake # Run all CMock library tests

If bundler isn't installed on your system or you run into problems, you might have to install it:

> sudo gem install bundler

Pulling Ceedling inside a Project

Ceedling can deploy all of its guts into a folder. This allows it to be used without having to worry about external dependencies. You don't have to worry about Ceedling changing for this particular project just because you updated your gems.

ceedling new YourNewProjectName

This will install all of Unity, CMock, and Ceedling into a new folder named YourNewProjectName. It will also create a simple directory structure for you with src and test folders. SCORE! It's also creates a simple rakefile and project.yml file that you can tweak to your own needs.

It'll also include documentation for all of these tools, unless you specify --nodocs at when you issue the command above... then it skips that step for you.

Using Ceedling From A Ruby Gem

Ceedling can also be used as a gem. By installing it this way, you can automatically update to the latest version of Ceedling, Unity, and CMock just by running an update on your gems. Use this if you are only running one project OR if you feel you want to keep all your projects up to date.

ceedling new YourNewProjectName --as_gem

This creates a new folder named YourNewProjectName. Inside it will be your shiny new project file, rakefile, and a couple of src and test directories to get you started. You can then tweak all of those things to your heart's content.

ceedling's People

Contributors

afacotti avatar art-of-dom avatar austinbes avatar barneywilliams avatar benwainwright avatar canton7 avatar diachini avatar dpostorivo avatar fpa-johnhutchinson avatar hmijail avatar jetm avatar jvranish avatar kalledk avatar laurensmiers avatar marcelojo avatar mchernosky avatar mikedlowis avatar mvandervoord avatar nevis123 avatar oclarocque avatar pjunger avatar rasup avatar rmja avatar ssfrr avatar sw17ch avatar swillard avatar tbates-redarc avatar yanma avatar

Watchers

 avatar  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.