tidyverse / googledrive

Google Drive R API
https://googledrive.tidyverse.org/
Other
322 stars 47 forks source link

Switch from mockr to testthat for mocking #456

Open georgestagg opened 1 month ago

jennybc commented 1 month ago

In general, getting into position to fully run googledrive's tests locally is a big commitment.

But from a quick look, I've only used mocking in tests that don't require auth, i.e. tests of internal utilities that don't hit the Drive API. So it seems like this would be feasible for tidyverse dev day. If someone picks this up, you can expect to see lots of skipped tests, but the tests you're touching should run. And then once the PR is pushed, full tests will be run in CI.