Testing Strategy
| Area |
Tests |
Drone.Formation |
Pure unit tests for offsets, separation errors, each formation |
Drone.Swarm |
start/stop, members, connect_sdk, takeoff, land, emergency |
| Partial failure |
One sim member injects takeoff failure → :partial |
| Formation integration |
Classic formations final positions deterministic |
| Mission map run |
Per-drone missions via Swarm.run/2 |
| Good/Bad scenario |
Safety reject on :bad, :good unaffected process-wise |
| Registry |
Named swarm lookup; member vehicle lookup |
| Telemetry |
Swarm events attach/assert |
| Regression |
Existing v0.1.0 suite still green |
Coverage target: keep overall 80%+; new modules should be well covered.
Testing Strategy
Drone.FormationDrone.Swarm:partialSwarm.run/2:bad,:goodunaffected process-wiseCoverage target: keep overall 80%+; new modules should be well covered.