-
Notifications
You must be signed in to change notification settings - Fork 12
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
helper fxn to get webmockr/vcr versions used to record each fixture #152
Comments
I definitely see the utility and I love how your implementation leverages the cli package. I'm wondering if we need a wholly new function for this since > cassettes()
# $`create-dir-with-dot-prefix`
# <cassette>
# Recorded at: 2020-01-29 23:28:09 GMT
# Recorded with: vcr/0.4.1.93.9000, webmockr/0.5.1.96
#
# $`create-dir`
# <cassette>
# Recorded at: 2020-01-29 23:27:59 GMT
# Recorded with: vcr/0.4.1.93.9000, webmockr/0.5.1.96
#
# $`create-dir1`
# <cassette>
# Recorded at: 2020-01-29 23:27:23 GMT
# Recorded with: vcr/0.4.1.93.9000, webmockr/0.5.1.96 Perhaps |
good catch! totally forgot about that fxn. i'll see about leveraging |
Sort of relates to our previous discussion re cassette helpers and What do you think about adding something like My sense is it might be useful enough to export and could then be used internally by other functions like |
a
what does true-positive mean? |
I just meant it should filter out non-cassette files (false positives), which will probably require reading the first line and checking for
Maybe the output should be more inline with Or that could be second helper function that builds on |
okay, agree on true thing. right, Yes, sounds good to have a data.frame like |
In going through the process of submitting a new version of a package that uses vcr, i was re-recording cassettes with the newest vcr and webmockr versions on cran. And i thought it would be easier if I could tell what fixtures had been recorded with old versions of webmockr/vcr
a draft function
gives (with some lines removed for brevity)
screenshot in brief for some color
thoughts @maelle @aaronwolen ?
The text was updated successfully, but these errors were encountered: