Registry / testing / spectral

spectral

JSON →
library0.6.0rscratesunverified

Fluent test assertions for Rust, providing a chainable API for expressive and readable test code.

# Cargo.toml [dependencies] spectral = "0.6.0"
INSTALL
IMPORT
SIG · SPECTRAL
S
spectral
testingrustv0.6.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.

assert_that
use spectral::prelude::*;

Basic usage of spectral for fluent assertions.

use spectral::prelude::*; fn main() { let value = 42; assert_that(&value).is_equal_to(&42); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
spectral — cargo add spectral · libregistry