Registry / testing / speculate

speculate

JSON →
library0.1.2rscratesunverified

An RSpec inspired minimal testing framework for Rust.

# Cargo.toml [dependencies] speculate = "0.1.2"
INSTALL
IMPORT
SIG · SPECULATE
S
speculate
testingrustv0.1.2
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.

speculate
✓ use speculate::speculate;

Define a test suite using the speculate! macro.

use speculate::speculate; speculate! { describe "math" { it "adds" { assert_eq!(2 + 2, 4); } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
speculate — cargo add speculate · libregistry