Registry / testing / test-bin

test-bin

JSON →
library0.5.0rscratesunverified

A crate for getting the crate binary in an integration test.

# Cargo.toml [dependencies] test_bin = "0.5.0"
INSTALL
IMPORT
SIG · TEST-BIN
T
test-bin
testingrustv0.5.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.

get_test_bin
use test_bin::get_test_bin;

Retrieves the path to a crate's binary for integration testing

use test_bin::get_test_bin; fn main() { let bin_path = get_test_bin("my_crate"); println!("Binary path: {:?}", bin_path); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
test-bin — cargo add test-bin · libregistry