Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCR style functionality - record live API calls, then play them back for future testing #1

Open
mrdavidlaing opened this issue Mar 15, 2012 · 1 comment

Comments

@mrdavidlaing
Copy link
Collaborator

Been talking to some Rubyists who rave about this libraries usefulness -

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

https://www.relishapp.com/myronmarston/vcr/docs
https://github.com/myronmarston/vcr

Would it be possible to replicate this kind of functionality in JsonClient? (Maybe by enabling saving / loading of the cache?)

I can sure see it being useful from a UI developers perspective - manually run through my UI in "record" mode, then I know that when in playback mode the API will behave the same.

Useful for presentations, demos, automated testing scenarios etc.

@bitpusher
Copy link
Owner

sure. actually would be trivial. down to the actual timing of the request issuance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants