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

use VCR for spec that is calling remote server #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

binarycode
Copy link
Contributor

This PR wraps the 'can get remote resource' spec in VCR cassette, so that no external dependencies are needed to run the specs.

One issue though is that the VCR does not support the close method introduced in Faraday v1.0.0, so I had to monkeypatch it until the PR https://github.com/vcr/vcr/pull/793 is merged.

@ioquatix
Copy link
Member

ioquatix commented Feb 1, 2020

Thanks for your effort. I need to review whether this is the right approach. While I understand the need for fast and reproducible, end-to-end testing is also important.

@ioquatix ioquatix self-assigned this Feb 2, 2020
@ioquatix ioquatix added the enhancement New feature or request label Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants