Expand description
§interpolate_name
interpolate_name
consists in a set of procedural macro attributes
geared towards reduce the boilerplate while writing repetitive tests.
interpolate_test
: a quick way to test the same function by passing specific arguments and have a test entry for each of them.interpolate_name
: a simple function renamer that can be combined with macros to support more complex patterns.
Attribute Macros§
- interpolate_
name - Rename the decorated function by appending
_
and the providedspecifier
. - interpolate_
test - Generate a new test that calls the decorated function with the provided arguments.