[LRUG] VCR caches
Samuel Joseph
tansaku at gmail.com
Tue Sep 18 02:37:25 PDT 2018
Hi Dan,
Thanks, that's really interesting.
I guess that was a custom setup, rather than something you could just
turn on as part of the VCR config?
I think something like this could be the basis of a VCRbot that put in
PRs with some frequency ...
Many thanks
Best, Sam
On 11/09/2018 11:06, Dan Lucraft wrote:
> I've used VCR in the past, and the way it worked was our test suite
> had an optional "live" mode, which ran the tests against the live APIs.
>
> This meant a lot more up-front work, in that the tests had to be able
> to work from VCR stubs AND also be able to do all the real setup work
> in a live api, but it was very useful.
>
> Every so often we'd run it in live mode, and if the APIs had then
> changed the VCR stubs would be updated on disc and inspectable before
> checking them in for changes.
>
>
>
> Charlie Logo
> <https://www.charliehr.com/?utm_source=tom&utm_medium=email&utm_campaign=signature>
>
>
>
> Dan Lucraft
>
> Head of Engineering
>
> CharlieHR
>
>
>
> On 11 September 2018 at 10:07, Samuel Joseph <tansaku at gmail.com
> <mailto:tansaku at gmail.com>> wrote:
>
> Hi Lrugers,
>
> Any thoughts on how to manage VCR caches effectively in a team
> context?
>
> https://github.com/vcr/vcr
>
> We have a few open source projects using VCR, and we have the
> recordings of the network communication checked into git so that
> all developers can run tests in a consistent network environment.
>
> I have two concerns
>
> 1) new developers onboarding often get snarled up in the caching
> and the files generated
> 2) the cached recordings are gradually getting further and further
> out of date - could we automate their refreshing?
>
> I have reached out to the VCR community in the past, but haven't
> had much feedback:
>
> * https://github.com/vcr/vcr/issues/672
> <https://github.com/vcr/vcr/issues/672>
> * https://github.com/vcr/vcr/issues/719
> <https://github.com/vcr/vcr/issues/719>
> * https://groups.google.com/forum/#!topic/vcr-ruby/8DoA7MUq-38
> <https://groups.google.com/forum/#%21topic/vcr-ruby/8DoA7MUq-38>
>
> I wondered if anyone else was using VCR and how they were making
> it work well for them with their team. Perhaps people are not
> using it and doing something else?
>
> Many thanks in advance
>
> Best, Sam
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org <mailto:Chat at lists.lrug.org>
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> <http://lists.lrug.org/pipermail/chat-lrug.org>
> Manage your subscription:
> http://lists.lrug.org/options.cgi/chat-lrug.org
> <http://lists.lrug.org/options.cgi/chat-lrug.org>
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> <http://lists.lrug.org/listinfo.cgi/chat-lrug.org>
>
>
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20180918/12c7c8bd/attachment-0004.html>
More information about the Chat
mailing list