box::use(
shiny[testServer],
testthat[...],
)
box::use(
app/main[...],
)
test_that("main server works", {
testServer(server, {
expect_equal(output$message, "Hello!")
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.