run_test_impl | R Documentation |
Implement a test run
run_test_impl(
path_executable,
path_candidate,
std_err,
std_out,
cmd_args,
artifacts,
file_transformer,
env,
expect_success,
read_only
)
path_executable |
The path to the executable bash script. |
path_candidate |
The path to a file that should be modified by the executable. |
std_err |
An expected error message. If no error is expected, this
can be |
std_out |
The expected stdout message. If |
cmd_args |
More arguments passed to the file. Pre-commit handles it as described here. |
artifacts |
Path with artifact files to copy to the temp directory root where the test is run. If you don't target the root, this can be a named vector of length one where the name is the target location relative to the temporary location and the value is the source of the file. |
env |
The environment variables to set with |
expect_success |
Whether or not an exit code 0 is expected. This can
be derived from |
read_only |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.