Ruview/v1/tests/unit
ruv 75d4685d25 feat: cross-platform WiFi collector factory with graceful degradation (ADR-049)
- Add create_collector() factory function that auto-detects platform and never raises
- Add LinuxWifiCollector.is_available() classmethod for probe-without-exception
- Refactor ws_server.py to use create_collector(), removing ~30 lines of duplicated platform detection
- Add 10 unit tests covering all platform paths and edge cases
- Add ADR-049 documenting the cross-platform detection and fallback chain

Docker, WSL, and headless users now get SimulatedCollector automatically
with a clear WARNING log instead of a RuntimeError crash.

Closes #148
Closes #155

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 15:09:32 -05:00
..
test_csi_extractor.py feat: Complete Rust port of WiFi-DensePose with modular crates 2026-01-13 03:11:16 +00:00
test_csi_extractor_direct.py feat: Complete Rust port of WiFi-DensePose with modular crates 2026-01-13 03:11:16 +00:00
test_csi_extractor_tdd.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_csi_extractor_tdd_complete.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_csi_processor.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_csi_processor_tdd.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_csi_standalone.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_densepose_head.py feat: Complete Rust port of WiFi-DensePose with modular crates 2026-01-13 03:11:16 +00:00
test_esp32_binary_parser.py feat(adr-018): ESP32-S3 firmware, Rust aggregator, and live CSI pipeline 2026-02-28 13:22:04 -05:00
test_modality_translation.py feat: Complete Rust port of WiFi-DensePose with modular crates 2026-01-13 03:11:16 +00:00
test_phase_sanitizer.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_phase_sanitizer_tdd.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_router_interface.py feat: Complete Rust port of WiFi-DensePose with modular crates 2026-01-13 03:11:16 +00:00
test_router_interface_tdd.py fix: Complete ADR-011 mock elimination and fix all test stubs 2026-02-28 16:59:34 +00:00
test_sensing.py feat: cross-platform WiFi collector factory with graceful degradation (ADR-049) 2026-03-06 15:09:32 -05:00