Crate interpolate_name[][src]

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.

Functions

interpolate_name

Rename the decorated function by appending _ and the provided specifier.

interpolate_test

Generate a new test that calls the decorated function with the provided arguments.