test_sim_dir: Test simChef Ingredients

View source: R/run-tests.R

test_sim_dirR Documentation

Test simChef Ingredients

Description

test_sim_dir() wraps around testthat::test_dir() to run all dgp-, method-, evaluator-, and visualizer-related tests.

Usage

test_sim_dir()

Details

This function only works if the simulation study is set up as an R project and if it is run when this R project is active. Additionally, tests must be stored in sub-directories whose names match those suggesting in the "Setting Up Your Simulation" vignette. These details are conveniently taken care of when a simulation study is set up using create_sim().

Examples

## Not run: 
# run dgp-, method-, evaluator-, and visualizer-related tests
test_sim_dir()
## End(Not run)


Yu-Group/simChef documentation built on March 25, 2024, 3:22 a.m.