Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Build and Test

Build matrix

cargo test --workspace
cargo build -p netprov-server --features live-ble
cargo build -p netprov-server --features live-nm
cargo build -p netprov-client --features ble
cargo build -p netprov-client --features ble-btleplug
cargo deb -p netprov-server

live-ble implies live-nm. The live-nm-destructive feature gates mutating NetworkManager integration tests that are unsafe for CI. ble-btleplug forces the portable backend on Linux so the macOS path remains covered by Linux CI and local builds.

Test tiers

TierIn CI?Covers
Unit testsYesProtocol CBOR round trips, framing, HMAC, bounded strings, and property tests.
Session layerYesThe Session state machine against MockFacade.
Client/server loopbackYesThe complete request/response surface over tokio::io::duplex.
Live NetworkManagerOpt-in--features live-nm -- --ignored; requires NetworkManager on the system bus.
Live BLE end-to-endOpt-in--features live-ble and two BLE-equipped hosts.