diff --git a/vignettes/special-files.Rmd b/vignettes/special-files.Rmd index 7e18526a2..162f7e926 100644 --- a/vignettes/special-files.Rmd +++ b/vignettes/special-files.Rmd @@ -33,7 +33,7 @@ In principle, you should be able to be run your test files in any order or even ## Helper files -Helper files live in `tests/testtthat/`, start with `helper`, and end with `.r` or `.R`. +Helper files live in `tests/testthat/`, start with `helper`, and end with `.r` or `.R`. They are sourced by `devtools::load_all()` (so they're available interactively when developing your packages) and by `test_check()` and friends (so that they're available no matter how your tests are executed). Helper files are a useful place for functions that you've extracted from repeated code in your tests, whether that be test fixtures (`vignette("test-fixtures")`), custom expectations (`vignette("custom-expectations")`), or skip helpers (`vignette("skipping")`).