Searching an article about testing C or C++ code with Ruby

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. :wink:
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

Stephan

* Stephan Kämper <Stephan.Kaemper@Schleswig-Holstein.de> [2005-02-04 21:00:38 +0900]:

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. :wink:
Googling didn't help either.

Does anyone remember - the author perhaps? Or does anyone use Ruby to
test C/C++ code?

Was it this?

···

Radar – O’Reilly

--
Jim Freeze
Code Red. Code Ruby

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. :wink:
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

Hi Jim,

jim@freeze.org wrote:

* Stephan Kämper <Stephan.Kaemper@Schleswig-Holstein.de> [2005-02-04 21:00:38 +0900]:

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. :wink:
Googling didn't help either.

Does anyone remember - the author perhaps? Or does anyone use Ruby to test C/C++ code?

Was it this?

http://www.onlamp.com/pub/a/onlamp/2004/10/28/design_by_contract_in_c.html

Jim thanks from that link - which is interesting in itself. I'm definitely reading that very soon.
But it wasn't it.

Anyway thanks for listening - or reading my query.
Just posting the question - and having a lunch break - made me relaxed enough to find the answer myself after all:

"Mixed-Language Development & SWIG Mixing Ruby &C++" by Phil Thomson

(Too bad CUJ's search didn't find the article...)

Anyway thanks Jim for answering and thanks Phil for writing the article.

Happy rubying

Stephan