View source: R/assign-test-ids.R
assign_test_ids | R Documentation |
This function will generate Test Id's with the pattern 'TST-FOO-XXX', overwrite test documents to include these new IDs, and return a dataframe with the new TestIds column.
assign_test_ids( prefix, test_path = getOption("mrgvalprep.TEST_LOC"), overwrite = TRUE, first_id = 1 )
prefix |
character string. Prefix for TestIds; usually an acronym of 3 letters signifying the associated package. |
test_path |
path to where tests are written. |
overwrite |
(T/F) whether or not to overwrite test files with new test ids |
first_id |
integer. Desired starting point for test ids; must be greater than or equal to 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.