详情请进入 湖南阳光电子学校 已关注:人 咨询电话:0731-85579057 微信号:yp941688, yp94168
Ceedling is a build system for C projects that is something of an extension around Ruby’s Rake (make-ish) build system. Ceedling is primarily targeted at Test-Driven Development in C and is designed to pull together CMock, Unity, and CException -- three other awesome open-source projects you can’t live without if you're creating awesomeness in the C language. In order to spread the awesomeness around, Ceedling is an extensible contraption with a nice plugin mechanism.
Ceedling is our latest piece of awesomeness geared to pull together all of our C developer goodies into something more cohesive. It is packaged up in a Ruby Gem freely available for mass consumption:
INSTALLING CEEDLINGFirst, you will need to install Ruby (version 1.8.6 or newer. We are enjoying 1.9.2 at the moment).
Ceedling was created to pull together a lot of the magic that duct-taped these individual tools together into a cohesive system. Recently, we also created the Ceedling Ruby Gem which you can grab from RubyGems:
The gemification of Ceedling makes getting rolling as easy as typing:
gem install ceedlingIf you're going through a firewall (as many people are at work), you may need a slightly more complicated version:
gem install ceedling --http-proxy=http://user:password@server:portThough Ceedling is officially still in its beta state, it is fully functional and documented as well. Feel free to dig in, and also please feel free to give us feedback in how we can help you and improve the docs. We want to crank the awesomeness up to 11, and your input will help make that happen!
You first need to have the Ruby scripting language installed, and have RubyGems support as well to utilize the gem. Additionally, Ceedling also needs to have some form of GNU GCC tools installed for compilation. Other embedded toolchains are supported as well, but GCC is supported out-of-the box and is also used for dependency generation and preprocessing of files (by default).
To see what you can do with the gem, just call the executable with help:
ceedling helpWhich will show you the available goodness:
Tasks: ceedling example PROJ_NAME [DEST]# create specified example project (in DEST, if specified) ceedling examples# list available example projects ceedling help [TASK] # Describe available tasks or one specific task ceedling new PROJECT_NAME# create a new ceedling project ceedling version # print all ceedling gem and library versionsTell Ceedling to generate the skeleton for starting a new project called MyNewProject:
ceedling new MyNewProjectYou can also generate a sample project that is fully tested in order to have something that “Just Works” to refer to:
ceedling example temp_sensorAnd finally, you can test your ceedling project as follows:
ceedling test:allGood luck with Ceedling, and feel free to let us know how your adventures in TDDing embedded C go!
。红星木工培训学校,红星木工培训班,红星木工学校,红星学木工的学校,红星木工培训哪里好,红星木工培训学校,红星木工短期培训班,红星木工培训学校地址,红星学木工培训,红星木工培训哪里好,红星木工培训班,红星木工技术培训.(编辑:hnygdzxx888)(整理:红星木工培训学校)
湖南阳光电子学校教学特色