Module tests

Source
Expand description

Functions helping writing tests

Functions§

extract_string
Helper function to extract string from an Option<Value> to remove boilerplate with tester error handling
number_args_allowed
Check that the number of args match what was expected
value_defined
Called to check if the Value is defined and return an Err if not