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

Better feedback when a cassette doesn't match #28

Open
soffes opened this issue Nov 13, 2015 · 2 comments
Open

Better feedback when a cassette doesn't match #28

soffes opened this issue Nov 13, 2015 · 2 comments

Comments

@soffes
Copy link
Contributor

soffes commented Nov 13, 2015

If you specify a cassette, it exists, and doesn't contain the request you specified, it would be really helpful if it said why it thinks the request you specified doesn't match the one in the cassette.

@soffes
Copy link
Contributor Author

soffes commented Nov 13, 2015

In this case, I had added the cassette to the framework instead of the test target by mistake. It would be super cool if we could detect that.

@kiliankoe
Copy link

kiliankoe commented Mar 27, 2017

I realize this issue is rather old, but I'm running into something nonetheless and would love to know why it fails. All I'm seeing is the following, but only on Travis CI 😕 Everything works just fine locally.

❌  fatal error: [DVR] Invalid request. The request was not found in the cassette.: file /Users/travis/build/kiliankoe/DVB/Carthage/Checkouts/DVR/DVR/SessionDataTask.swift, line 55

Unfortunately I'm not even entirely sure which request lookup fails 🙈 I'm seeing timeouts on a subset of all tests using VCR.

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

No branches or pull requests

2 participants