Nick Fischer
unread,Oct 24, 2025, 9:31:28 AMOct 24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-discuss
Hi folks,
I'm currently working on a Bazel/rust project and I'm trying to set up integration tests for one of our apps. Without going into too much detail, the app is related to distributed messaging/communication.
For the integration test (rust_test) I would like to spawn multiple instances of the app's rust_binary with different configurations, observe the behavior and report a test result.
For now, unfortunately I've been unsuccessful in making rust_binary available inside the test sandbox. The closest thing I've come across is the rust_test's data field, but that will only include a non-executable binary in the sandbox.
What's the proper way of doing this? I would imagine this to be a common use case (e.g. spinning up a server app for client-side testing)
Thanks and best regards,
Dominik