tests/testthat/test-app.R

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
})

#check if janitor::make_clean_names process input string as expected
testServer(app_server, {
  session$setInputs(variable = "Sales/Price")
  expect_equal(selected_variable(), "sales_price")
})
Stefan1896/Company_Financials documentation built on March 19, 2023, 1:05 p.m.