aprs.me/test/aprsme_web
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
..
channels Expand mobile channel, packet consumer, and user settings tests for coverage 2026-05-08 12:08:21 -05:00
components Add coverage tests for CoreComponents (input form/field, safe_row_id) and DataBuilder edge cases 2026-05-08 12:11:14 -05:00
controllers Improve test coverage to 88.02% 2026-05-08 11:58:09 -05:00
integration Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
live Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
plugs Speed up the slowest tests 2026-05-09 10:56:03 -05:00
aprs_symbol_test.exs Add coverage tests for AprsSymbol render helpers and DbOptimizer atom/identifier paths 2026-05-08 12:15:46 -05:00
gettext_test.exs test: cover AprsmeWeb.Gettext helpers 2026-04-23 14:54:16 -05:00
telemetry_test.exs Add coverage tests for Telemetry, ApiCSRF, Packets, and PacketsLive.Index 2026-05-08 12:55:20 -05:00
test_helpers_test.exs test: TestHelpers module coverage 2026-04-24 08:48:54 -05:00
time_helpers_test.exs updates with parser updates 2025-08-03 09:19:31 -05:00
time_utils_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
user_auth_test.exs test: cover UserAuth, StatusLive handlers and UserNotifier 2026-04-23 16:40:47 -05:00
weather_units_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00