[rspec-users] Testing c code with rspec?

Wincent Colaiuta win at wincent.com
Mon Aug 27 03:34:37 EDT 2007

El 27/8/2007, a las 6:00, Steven R. Baker escribió:

> Ben Mabey wrote:
>> Hey all,
>> Has any one ever tested or try to test c code with rspec?  I am using
>> system calls to my compiled c program and testing against the  
>> standard
>> output but I would like to get a lot more granular than this.  I have
> I've specified Ruby C extensions using RSpec, but not just regular C
> applications.  My suggestion is to write Ruby C wrappers, if you
> *really* want to use RSpec to specify your C.

That's what I've done in the past as well and have been very happy  
with the results.


More information about the rspec-users mailing list