| goose_generate_tests | R Documentation |
Generate testthat unit tests for R functions.
goose_generate_tests(func, test_cases = 5, edge_cases = TRUE)
func |
Function object to test |
test_cases |
Number of test cases to generate |
edge_cases |
Logical, include edge case tests |
Character string with testthat code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.