the.bay.news

How to invoke one crate's executable target from another crate's integration tests?

The Rust Programming Language Forum
How to invoke one crate's executable target from another crate's integration tests?
In a workspace with multiple crates, how can one crates's integration tests depend on and invoke the executable target (not lib target) of another crate? My workspace looks like this: workspace/ ├── a/ │ └── tests/integration.rs └── b/ ├── src/lib.rs └── src/main.rs Crate a depends on b as a dev-dependency. And its tests need to be able to invoke b's executable target. In the past, that worked. But rust-nightly's build-layout-v2 moved things around, and assert_cmd-2.1.3 can no lo...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.