diff --git a/DESCRIPTION b/DESCRIPTION index afbd02e..908852d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -47,7 +47,7 @@ Suggests: markdown, RColorBrewer, rsconnect, - testthat, + testthat (>= 3.0.0), ssddata VignetteBuilder: knitr @@ -56,3 +56,4 @@ Language: en-US LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 +Config/testthat/edition: 3 diff --git a/tests/testthat.R b/tests/testthat.R index 26455d5..12619a0 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,3 +1,11 @@ +# This file is part of the standard setup for testthat. +# It is recommended that you do not modify it. +# +# Where should you do additional test configuration? +# Learn more about the roles of various files in: +# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview +# * https://testthat.r-lib.org/articles/special-files.html + library(testthat) library(shinyssdtools) diff --git a/tests/testthat/test-blank.R b/tests/testthat/test-blank.R new file mode 100644 index 0000000..8849056 --- /dev/null +++ b/tests/testthat/test-blank.R @@ -0,0 +1,3 @@ +test_that("multiplication works", { + expect_equal(2 * 2, 4) +})