-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_all_tests.R
17 lines (16 loc) · 1.09 KB
/
run_all_tests.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Automatically run all tests
# Stop on failure is set to TRUE by default. For local runs this can be set to FALSE to show full set of results.
STOP_ON_FAILURE <- TRUE
library(testthat)
source("load_tool_environment.R")
testthat::test_dir("db_interface/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("island_assessment/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("location_analysis/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("out_of_tool_processing/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("preprocess_cer_data/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("process_input_data/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("reconnect_compliance/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("response_categorisation/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("ufls_detection/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("upscale_disconnections/tests", stop_on_failure = STOP_ON_FAILURE)
testthat::test_dir("upscaling/tests", stop_on_failure = STOP_ON_FAILURE)