exercism/xc — pull request #1 by sunzenshen (2014-09-26 05:14:19+00:00)
Title: Hamming exercise

With this pull request, I'm hoping to spur some discussion regarding which unit test framework to use with the xC track. To generate unit tests, I used Ceedling, which is a Ruby Gem that extends Rake for C unit testing.

Here are some guides for the Ceedling:
http://throwtheswitch.org/white-papers/ceedling-intro.html
http://blog.carbonfive.com/2012/10/14/test-driven-c-with-ceedling/

I chose to use Ceedling because it seemed like an easy-to-use, multi-platform tool. One disadvantage with Ceedling is that there are a lot of supporting files, which bloats the size of the exercise folder. Contrast this submission with that of the xCpp track (which requires installing the Boost libraries, but then doesn't require a bunch of supporting files in the exercise directories):
https://github.com/exercism/xcpp/tree/master/hamming

Does anyone else have an alternative unit test framework to recommend? Or is there a way to pare down the size of this submission?