Crates.io | bintest |
lib.rs | bintest |
version | 2.0.0 |
source | src |
created_at | 2021-06-19 13:21:03.802354 |
updated_at | 2024-03-16 14:29:38.508987 |
description | Testing the executables build by a bin crate |
homepage | |
repository | https://github.com/cehteh/bintest.git |
max_upload_size | |
id | 412099 |
size | 29,757 |
Testing the executables build by a bin crate.
cargo test
has no support for running tests on a build excecutable.
This crate works around this deficiency.
There are some problems to overcome the cargo limitations.
BinTest solve these problems by running cargo build
at test time, parsing its output for
identifying and locating the build executables. On request it creates a std::process::Command
for the binary which can be used for any further testing.