[rspec-users] Testing c code with rspec?
Steven R. Baker
srbaker at pobox.com
Mon Aug 27 00:00:33 EDT 2007
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. I might be interested in
helping you with this if you want to hit me via email off-list.
More information about the rspec-users