Re: [rspec-users] Mocks and CL Programs

2011-04-07 Thread Pat Maddox
On Apr 3, 2011, at 8:24 AM, andyl wrote: > I am using rspec/aruba to do integration tests of a command-line program i'm > writing. > > I'd like to use something like FakeWeb to stub the network calls in the > command-line program. > > But with aruba, the program under test runs in a separate p

Re: [rspec-users] Mocks and CL Programs

2011-04-05 Thread James Martin
On Mon, Apr 4, 2011 at 1:24 AM, andyl wrote: > I am using rspec/aruba to do integration tests of a command-line program > i'm writing. > > ... > > Alternatively, I could write a local web service that delivers fake > results. > > I like the idea of this for end-to-end tests, depending on the com