Skip to content

Commit 59025f7

Browse files
authored
Describe workflow for upgrading (#1565)
1 parent 0606e3d commit 59025f7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vignettes/third-edition.Rmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,15 @@ This includes setting:
203203
204204
See the documentation for more details.
205205
206+
## Upgrading
207+
208+
The changes lend themselves to the following workflow for upgrading from the 2nd to the 3rd edition:
209+
210+
1. Activate edition 3. You can let [`usethis::use_testthat(3)`](https://usethis.r-lib.org/reference/use_testthat.html) do this for you.
211+
2. Remove or replace deprecated functions, going over the list of above.
212+
3. If your output got noisy, quiet things down by either capturing or suppressing warnings and messages.
213+
4. Inspect test outputs if objects are not "all equal" anymore.
214+
206215
## Alternatives
207216
208217
You might wonder why we came up with the idea of an "edition", rather than creating a new package like testthat3.

0 commit comments

Comments
 (0)