diff --git a/R/reporter.R b/R/reporter.R index 87c801519..78cfc55f6 100644 --- a/R/reporter.R +++ b/R/reporter.R @@ -1,7 +1,7 @@ #' Manage test reporting #' #' The job of a reporter is to aggregate the results from files, tests, and -#' expectations and display them in an informative way. Every testtthat function +#' expectations and display them in an informative way. Every testthat function #' that runs multiple tests provides a `reporter` argument which you can #' use to override the default (which is selected by [default_reporter()]). #' diff --git a/man/Reporter.Rd b/man/Reporter.Rd index c2e36a6dc..eeb7a0ab2 100644 --- a/man/Reporter.Rd +++ b/man/Reporter.Rd @@ -5,7 +5,7 @@ \title{Manage test reporting} \description{ The job of a reporter is to aggregate the results from files, tests, and -expectations and display them in an informative way. Every testtthat function +expectations and display them in an informative way. Every testthat function that runs multiple tests provides a \code{reporter} argument which you can use to override the default (which is selected by \code{\link[=default_reporter]{default_reporter()}}). } 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")`).