test_gen
A comprehensive function-like macro, for concisely defining parameterized tests.
This crate provides the function-like macro of its namesake, test_gen,
which enables the concise definition of batches of named tests,
implementing a parameterized argument format to minimise the boilerplate
otherwise required for specifying batches of similar tests.
Documentation can be found at Docs.rs.
Usage
Minimum Supported Rust Version: 1.63.0
test_gen can be added to a project, using the following command:
cargo add test_gen --dev
Or alternatively, by adding the following lines to its Cargo.toml file:
[]
= "0.2.3"
Examples
Fruits:
use *;
// Helper function
// Test specification
test_gen!
License
test_gen is licensed under the BSD 3-Clause license.
See LICENSE for details.