aprs.me/test/aprsme_web/plugs
Graham McIntire f9cfbf630e
Improve test coverage to 88.02%
Adds tests covering:
- Aprsme.Packet edge cases (already committed)
- Encoding valid_codepoint? branches via slow grapheme path and encoding_info shapes
- ErrorHandler database/network error categorization (CastError, ConstraintError, QueryError, Postgrex.Error, RuntimeError circuit_open/timeout, custom map :reason)
- HealthCheck plug ask_shutting_down? nil and unresponsive-pid paths
- SpatialPubSub ensure_float branches, dateline broadcast wrap-around, monitored client DOWN handler, no-coordinate broadcast skip
- DataBuilder weather popup, weather-only fallback, tuple value conversion, string weather convert_unit branches
- DeviceIdentification fetch_devices_from_url default-arg head
- PageController format_uptime branches via fake Aprsme.Is GenServer
- WeatherLive.CallsignView compare_timestamps branches via :weather_packet messages
- PacketConsumer field-conversion private helpers via crafted handle_events events
2026-05-08 11:58:09 -05:00
..
api_csrf_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
health_check_test.exs Improve test coverage to 88.02% 2026-05-08 11:58:09 -05:00
ip_geolocation_test.exs Fix Cloudflare IP geolocation not reaching LiveView on page load 2026-03-22 16:08:00 -05:00
rate_limiter_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
remote_ip_test.exs Add RemoteIp plug to show real client IP in K8s logs 2026-02-19 15:06:41 -06:00
set_locale_test.exs passing tests 2025-07-07 16:29:38 -05:00