Registry / testing / galvanic-assert

galvanic-assert

JSON →
library0.8.7rscratesunverified

A comprehensive set of matcher-based assertions and expectations for easier testing, supporting structural matching and custom matchers.

# Cargo.toml [dependencies] galvanic-assert = "0.8.7"
INSTALL
IMPORT
SIG · GALVANIC-ASSERT
G
galvanic-assert
testingrustv0.8.7
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.

matchers
use galvanic_assert::matchers::*;

Uses the assert_that! macro with a matcher to check equality.

use galvanic_assert::matchers::*; fn main() { let value = 5; assert_that!(value, is(equal_to(5))); println!("Assertion passed!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
galvanic-assert — cargo add galvanic-assert · libregistry