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

implement testing with mocking #4

Closed
cjyetman opened this issue Apr 7, 2023 · 1 comment
Closed

implement testing with mocking #4

cjyetman opened this issue Apr 7, 2023 · 1 comment

Comments

@cjyetman
Copy link
Member

cjyetman commented Apr 7, 2023

Implement robust testing for these functions with a mocking package to prevent frequent failures due to frequent hiccups with internet access and web server responses.

related: https://github.com/RMI-PACTA/pacta.data.preparation/issues/167

great resource: https://books.ropensci.org/http-testing/index.html

using one of (in no particular order):
https://docs.ropensci.org/vcr/
https://docs.ropensci.org/webmockr/
https://enpiar.com/r/httptest/
https://enpiar.com/httptest2/
https://webfakes.r-lib.org

@jdhoffa
Copy link
Member

jdhoffa commented Feb 2, 2024

Transferred to #34

@jdhoffa jdhoffa closed this as completed Feb 2, 2024
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