From: Martin Martinos Date: 2007-10-02T06:25:41+09:00 Subject: Re: Optimizing testing Eric Hodel wrote: > > If you only want to test the wrapper you should stub out the C++ > app's behaviors and use those stubs instead of the real thing. You > don't specify if this is a command-line wrapper or a ruby extension, > the former will be mork work than the latter :/ > > For a full integration test you can use the same tests with the real > app (which will take the full amount of time). In fact it is a command line application. I think it is a good idea to stub it. I think I will do a small ruby script that generates an output that is similar to c++ application. Martin -- Posted via http://www.ruby-forum.com/.