Had a bit of a play with it, but couldn't get Merb to play (due to an issue
with bundler, I think), and didn't get too far with Sinatra before having a
*facepalm* moment & remembering that it won't store state between calls, so
I couldn't load up an array of data & have it feed through it.
Will crack on tomorrow with it, but the rest of tonight is gonna be band
practice, get what I have working into crontab, then bed!
Cheers,
   Doug.

On 10 June 2010 15:58, Caius Durling <[email protected]> wrote:

> On 10 Jun 2010, at 15:12, doug livesey wrote:
>
> > However a little fake web service that simply read pre-recorded or
> constructed responses from a local file (or symlink to one of several
> potential files) could work.
> > Then, in my cuke features, I could say "Given the service will return
> typical data" (or whatever), and have the corresponding step make the fake
> web service's symlink to a file of fixture responses that suit.
> > See, I like this idea, which immediately makes me suspicious of it.
>
>
> I've done something along these lines before.
>
> If a file (tmp/warren.test iirc) existed then the adapter read it and
> returned the data in it as a response instead of connecting to the service
> (RabbitMQ in this case.)
>
> Was to work around running a separate server for cucumber using
> culerity/celerity if I remember rightly. Couldn't mock the adapter, but
> could have any response returned we wanted to at the time this way.
>
> C
> ---
> Caius Durling
> [email protected]
> +44 (0) 7960 268 100
> http://caius.name/
>
> --
> You received this message because you are subscribed to the Google Groups
> "NWRUG" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nwrug-members%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nwrug-members?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.

Reply via email to