library(shiny)
context("Testing CreateFormApp Func")
test_that("formInfo param is Not Null", {
formInfo <- NULL
expect_error(createFormApp(formInfo))
})
test_that("formInfo param is a list", {
formInfo <- data.frame(test="")
expect_error(createFormApp(formInfo))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.