nealrichardson / httptest

A Test Environment for HTTP Requests in R
https://enpiar.com/r/httptest/
Other
79 stars 10 forks source link

use_httptest() should create a file called setup not helper #44

Closed maelle closed 3 years ago

maelle commented 3 years ago

https://testthat.r-lib.org/reference/test_dir.html#special-files

nealrichardson commented 3 years ago

Apparently it should :) Revised the issue title accordingly.

maelle commented 3 years ago

Actually this might have been a bad idea? https://github.com/r-lib/testthat/issues/1206#issuecomment-713120193

maelle commented 3 years ago

I got confused, it was the right change https://testthat.r-lib.org/articles/test-fixtures.html#package