Registry / testing / yare
library3.0.0rscratesunverified

Lean parameterized test case library for Rust.

# Cargo.toml [dependencies] yare = "3.0.0"
INSTALL
IMPORT
SIG · YARE
Y
yare
testingrustv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parameterized
use yare::parameterized;

Defines parameterized test cases for a function.

use yare::parameterized; #[parameterized( case1 = { 1, 2, 3 }, case2 = { 4, 5, 9 } )] fn test_add(a: i32, b: i32, expected: i32) { assert_eq!(a + b, expected); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
26
Resources
yare — cargo add yare · libregistry