.tasks/core/DEV-001-multi-process-test-framework.md
A custom testing framework will be built to validate complex, multi-device distributed scenarios directly within the Rust test suite. It orchestrates multiple cargo test subprocesses, each assuming a different device "role," to simulate real-world P2P interactions like pairing and file transfers.
src/test_framework/runner.rs.device_pairing_test.rs and cross_device_copy_test.rs use this framework by defining distinct, #[ignore]-ed test functions for each role (e.g., alice_pairing_scenario, bob_pairing_scenario).cargo test subprocesses.