From: Bil Kleb Date: 2006-08-11T18:05:04+09:00 Subject: Re: Unit test approach for Ruby extension Eric Hodel wrote: > yue_nicholas@hotmail.com wrote: >> >> Do we write unit test separately for the C++ code and the Ruby code? > > I would test it from ruby because it is easier to write ruby code than > C++ code. Concur. We even went that route for a stand-alone C code. We briefly looked at using swig to do the interface, but ended up writing the interface code by hand. Regards, -- Bil http://fun3d.larc.nasa.gov