ptkwt
2/4/2005 1:04:00 PM
In article <36h6drF51pm6nU1@individual.net>,
Stephan Kämper <Stephan.Kaemper@Schleswig-Holstein.de> wrote:
>Hi all,
>
>I seem to recall that I read an article about testing C (or C++) code
>using Ruby. Unfortunately I can't remember where to find it - well since
>I'm posting here, it's obvious, isn't it. ;-)
>Googling didn't help either.
>
>Does anyone remember - the author perhaps? Or does anyone use Ruby to
>test C/C++ code?
>
>Happy rubying & happy testing
>
I've done it before using swig to wrap C++ classes and writing the unit
tests in Ruby. It worked quite well.
I wrote an article in C/C++ Users Journal (I think it was the Jan 2004
issue) on mixing Ruby and C++ using Swig. I mentioned unit testing in the
article, but it wasn't the main focus.
Phil