Skip to content
Snippets Groups Projects
Commit 7b1935f7 authored by Todor Kondić's avatar Todor Kondić
Browse files

Create (conditional) integration tests.

parent f48201c1
No related branches found
No related tags found
No related merge requests found
test_that("Extraction returns what is needed.",{
topd = Sys.getenv("SS_INTEG_TOP_DATA_DIR")
projd = Sys.getenv("SS_INTEG_PROJ_DIR")
skip_if_not(shiny::isTruthy(topd) && shiny::isTruthy(projd),"Environment variables SS_INTEG_TOP_DATA_DIR and SS_INTEG_PROJ_DIR must be present for this test to work.")
eo = init(top_data_dir=topd,projects=projd)
print(str(eo))
m = run(envopts=eo,
project="proj",
phase=c("setup","comptab"))
expect_true(1==1)
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment