Registry / testing / testresult

testresult

JSON →
library0.4.1rscratesunverified

Provides a TestResult type for concise and precise test failures in Rust.

# Cargo.toml [dependencies] testresult = "0.4.1"
INSTALL
IMPORT
SIG · TESTRESULT
T
testresult
testingrustv0.4.1
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.

TestResult
use testresult::TestResult;

Minimal test using TestResult to simplify error handling.

use testresult::TestResult; fn my_test() -> TestResult { let x = 2 + 2; assert_eq!(x, 4); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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