Check that all mandatory tested resources have tests.

ensure_resources_are_tested(engine, tests, optional, base = "test")

Arguments

engine

syberia_engine. The engine to check.

tests

character. The tests to check. Must be a list with keys "active" and "ignored".

optional

character. A character vector of optional tests.

base

character. The directory containing tests in the project, by default "test".

Value

Nothing, but error if not all resources have tests.