I love the Ruby RSpec BDD development style. Are there any good tools for doing this with C/C++?
+6
A:
cspec is for C. Presumably it will work with C++. There is a list of tools for various languages on the Behavior Driven Development Wikipedia page.
ejgottl
2008-10-11 12:48:09
Why is this chosen over cppspec below?
Comptrol
2010-08-07 08:33:27
+2
A:
It seems you can test your C code using Ruby and RSpec using swig to generate wrappers! See Ben Mabey's post here: http://www.benmabey.com/2007/09/09/bdd_your_c/
I've tried that example out and it worked for me. I'm not sure if anyone has taken it any further.