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 #34

Open
jdhoffa opened this issue Feb 2, 2024 · 1 comment
Open

Implement testing with mocking #34

jdhoffa opened this issue Feb 2, 2024 · 1 comment
Labels
feature a feature request or enhancement maintenance-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day upkeep maintenance, infrastructure, and similar

Comments

@jdhoffa
Copy link
Member

jdhoffa commented Feb 2, 2024

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 Author

jdhoffa commented Feb 2, 2024

Thanks @cjyetman

@jdhoffa jdhoffa added feature a feature request or enhancement upkeep maintenance, infrastructure, and similar maintenance-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day labels Feb 6, 2024
@jdhoffa jdhoffa self-assigned this Feb 6, 2024
@jdhoffa jdhoffa removed their assignment Apr 10, 2024
@cjyetman cjyetman added ADO and removed ADO labels Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement maintenance-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

No branches or pull requests

2 participants