| muttest | R Documentation |
Run a mutation test
muttest(
plan,
path = "tests/testthat",
reporter = default_reporter(),
test_strategy = default_test_strategy(),
copy_strategy = default_copy_strategy(),
workers = 1,
timeout = 600 * 1000
)
plan |
A mutation testing plan. See |
path |
Path to the test directory. |
reporter |
Reporter to use for mutation testing results. See |
test_strategy |
Strategy for running tests. See |
copy_strategy |
Strategy for copying the project. See |
workers |
Number of parallel workers. When greater than 1, mutants are tested
concurrently using |
timeout |
Per-mutant timeout in milliseconds. If a mutant's test run exceeds this
limit the daemon is interrupted and the result is recorded as an error.
Use |
An object of class muttest_result containing the overall mutation score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.