View source: R/utils_test_that.R
| generate_args_for_tests | R Documentation |
Function generates a specific number of combinations for a method. These are used for automating tests of objects.
generate_args_for_tests(
object_name,
method,
var_objects = list(),
necessary_objects = list(),
var_override = list()
)
object_name |
|
method |
|
var_objects |
|
necessary_objects |
|
var_override |
Named |
Returns a list with combinations of arguments.
var_objects, necessary_objects, and var_override the names must exactly match
the name of the parameter. Otherwise they are not applied. Names of arguments which are not part
a a method are ignored. #'
Other Utils TestThat Developers:
check_adjust_n_samples_on_CI(),
generate_embeddings(),
generate_tensors(),
get_current_args_for_print(),
get_fixed_test_tensor(),
get_test_data_for_classifiers(),
monitor_test_time_on_CI(),
random_bool_on_CI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.