
Run a mutation test
muttest.RdRun a mutation test
Usage
muttest(
plan,
path = "tests/testthat",
reporter = default_reporter(),
test_strategy = default_test_strategy(),
copy_strategy = default_copy_strategy()
)Arguments
- plan
A data frame with the test plan. See
plan().- path
Path to the test directory.
- reporter
Reporter to use for mutation testing results. See
?MutationReporter.- test_strategy
Strategy for running tests. See
?TestStrategy. The purpose of test strategy is to control how tests are executed. We can run all tests for each mutant, or only tests that are relevant to the mutant.- copy_strategy
Strategy for copying the project. See
?CopyStrategy. This strategy controls which files are copied to the temporary directory, where the tests are run.