Added vcr support for consistent tests#109
Added vcr support for consistent tests#109ludehon wants to merge 17 commits intojohnwmillr:masterfrom
Conversation
|
Hi @ludehon, sorry for the delay. Do you mind adding a demonstration of how to run these VCR tests? |
|
Reading the Rationale on VCR's docs, I think this might be a good idea. Currently, the tests take about 3:20 minutes on Travis CI and even longer on local machines. |
|
Using VCR without the libyaml extension the tests took 105 seconds on my PC. It's also nice to be able to run the tests offline. |
|
Do you mind addressing these merge conflicts, @allerter? |
|
@johnwmillr, not at all. I had actually tried this out a while ago. So this won't take much time. |
|
A few notes:
|
|
|
@johnwmillr if you think using |
|
You're right, @allerter. For the sake of moving forward with 3.0, let's hold off on this PR for now. I won't close it just yet, but we can move forward with the 3.0 work without merging this in. |
b72d04e to
5ee1136
Compare
|
Closing due to staleness — this PR is over 6 years old and the codebase has changed substantially since then. The test infrastructure has since been updated in a different direction. Thanks @ludehon! |
Only tests functions that use HTTP will have the vcrpy decorator