tests/testthat/test.R

library(boulder)
context("API get functions")

context("get_all_tables")

testthat::test_that("Table with data table names has correct format", {
  expect_is(vars_et, "data.frame")
  expect_is(vars_en, "data.frame")
  expect_is(get_all_tables(), "data.frame")
  expect_is(get_all_tables(), "tai_tables")
  expect_is(get_all_tables(local = FALSE), "data.frame")
})
tpall/boulder documentation built on May 6, 2019, 11:47 a.m.