Skip to content

Commit

Permalink
add coverpage
Browse files Browse the repository at this point in the history
  • Loading branch information
pydemull committed Oct 12, 2021
1 parent dfd18b3 commit 89a666a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion dev/02_dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ devtools::build_vignettes()
usethis::use_coverage()

# Create a summary readme for the testthat subdirectory
covrpage::covrpage()
#covrpage::covrpage()
pkgbuild::with_build_tools(covr::package_coverage())

## CI ----
## Use this part of the script if you need to set up a CI
Expand Down
12 changes: 6 additions & 6 deletions tests/testthat/test-golem-recommended.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test_that("app ui", {

test_that("app server", {
server <- app_server
expect_is(server, "function")
expect_type(server, "closure")
# Check that formals have not been removed
fmls <- formals(app_server)
for (i in c("input", "output", "session")){
Expand All @@ -19,8 +19,8 @@ test_that("app server", {
})

# Configure this test to fit your need
test_that(
"app launches",{
golem::expect_running(sleep = 5)
}
)
#test_that(
# "app launches",{
# golem::expect_running(sleep = 5)
# }
#)

0 comments on commit 89a666a

Please sign in to comment.