nealrichardson / httptest2

Utilities for testing R 📦s that use httr2
https://enpiar.com/httptest2/
Other
26 stars 6 forks source link

setup -> helper? #23

Closed maelle closed 12 months ago

maelle commented 1 year ago

See vcr discussion https://github.com/ropensci/vcr/pull/256 (I am aware I had asked for helper -> setup in httr a while ago :sweat_smile: )

nealrichardson commented 1 year ago

What problem would this solve? I don't quite follow the linked issues.

maelle commented 1 year ago

sorry! helper is loaded when using e.g. devtools::load_all(), so it might be better when working on a package. That said if one only runs the tests via devtools::test() and friends (as opposed to running them line by line), things are probably good as they are?

I wanted to note this here since this change was made in vcr.