aprs.me/test
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
..
aprsme Speed up the slowest tests 2026-05-09 10:56:03 -05:00
aprsme_web Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
assets/js Improve type safety for getTrailId function 2025-07-21 08:36:38 -05:00
integration cleanup 2026-02-07 10:55:19 -06:00
mix/tasks Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
mix_unused Cache MixUnused analyzer state to skip repeated BEAM scans in tests 2026-05-09 11:17:08 -05:00
support test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
types format 2026-02-18 14:49:58 -06:00
aprs_is_mock_test.exs test: AprsIsMock, DeviceIdentification, PacketCleanupWorker coverage 2026-04-23 18:13:02 -05:00
test_helper.exs Remove :slow test tag; make slow tests run fast via configurable timeouts 2026-05-09 09:05:16 -05:00