aprs.me/test/aprsme_web/live/map_live
Graham McIntire 5184d2ee5e
Cache MixUnused analyzer state to skip repeated BEAM scans in tests
- Split Analyzer.analyze/1 into compute_state/1 (slow, scans all BEAMs)
  and a fast filter step. analyze/1 now accepts :precomputed_state opt.
- Mix.Tasks.Compile.Unused.run/1 picks up precomputed state from process
  dict :mix_unused_extra_analyze_opts when present (test escape hatch).
- AnalyzerTest setup_all computes state once; exclude tests pass it
  through analyze/1, dropping per-test cost from ~700ms to <1ms.
- UnusedTest setup_all does the same — the consolidated severity-args
  test drops from 3.4s to ~5ms.
- Trim further sleeps in HistoricalLoadingTest (100->30ms) and
  MovementTest (50->20ms, receive timeouts 100->30ms).

Total suite: 40.6s -> 37.7s; 2488 tests, 0 failures.
2026-05-09 11:17:08 -05:00
..
callsign_view_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
components_test.exs test: expand coverage for Layouts, DeviceCache, Components and others 2026-04-23 16:36:01 -05:00
data_builder_extras_test.exs Add coverage tests for DevicesSeeder, StatusLive helpers, DataBuilder, and HistoricalLoader 2026-05-08 13:04:37 -05:00
data_builder_test.exs Fix object/item packets showing sender callsign instead of object name 2026-03-22 13:02:24 -05:00
display_manager_test.exs Add coverage tests for partition manager, map live message handlers, display manager, weather/device id paths 2026-05-08 12:03:10 -05:00
historical_loader_test.exs Add coverage tests for HistoricalLoader low-zoom non-final and pending-bounds paths 2026-05-08 13:33:13 -05:00
historical_loading_test.exs Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
index_test.exs Add coverage tests for partition manager, map live message handlers, display manager, weather/device id paths 2026-05-08 12:03:10 -05:00
integration_test.exs Add tests for batch_dispatch out-of-bounds removal and load_historical_batch matching generation 2026-05-08 17:13:32 -05:00
movement_test.exs Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
navigation_test.exs refactor: pattern-match over conditionals in Navigation and InsertOptimizer 2026-04-23 13:38:24 -05:00
overlay_rendering_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
packet_batcher_test.exs Fix code review findings batch 2: dead code, encoding, correctness 2026-02-20 07:29:27 -06:00
packet_processor_test.exs Improve test coverage to 87% and point vendor/aprs submodule at codeberg 2026-05-05 15:18:28 -05:00
packet_utils_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
performance_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
rf_path_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
rf_path_unit_test.exs Fix RF path visualization for hovering over track points 2026-02-19 15:41:32 -06:00
tracked_callsign_old_packet_test.exs Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
url_params_test.exs Improve test coverage to 87% and point vendor/aprs submodule at codeberg 2026-05-05 15:18:28 -05:00