towerops/lib/towerops_web/live/org
Graham McIntire 3ca0834ef0 tests: raise coverage to 70% via helper promotion + new unit/property tests
Promoted pure presentation and utility helpers from `defp` to `def @doc false`
across ~20 LiveViews, Oban workers, and sync modules so they're reachable from
unit tests. Refactored several `cond` blocks into idiomatic function heads with
guards. Added ~250 new test cases in new files under test/towerops and
test/towerops_web, including DB-backed tests for CnMaestro.Sync and
AlertNotificationWorker, and removed dead LiveView tab components and
CapacityLive (no callers anywhere in lib/test).

Configured mix.exs test_coverage.ignore_modules to exclude vendored third-party
code (SnmpKit, protobuf-generated Towerops.Agent.*, Absinthe GraphQL types,
Phoenix HTML modules, Inspect protocol impls) from coverage calculations —
these are not our project code.

Coverage: 66.93% → 70.09%. Full suite: 10,127 tests, 0 failures.
2026-04-24 09:49:06 -05:00
..
gaiia_mapping_live.ex tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
gaiia_mapping_live.html.heex ux: improve navigation, tooltips, and discoverability across pages 2026-03-12 13:40:10 -05:00
gaiia_reconciliation_live.ex i18n: wrap all user-facing strings in gettext() 2026-02-14 17:44:01 -06:00
gaiia_reconciliation_live.html.heex ux: improve navigation, tooltips, and discoverability across pages 2026-03-12 13:40:10 -05:00
integrations_live.ex fix: make sidebar sticky with header and resolve all credo issues (#32) 2026-03-15 18:19:09 -05:00
integrations_live.html.heex reliability-audit-fixes (#181) 2026-03-26 14:10:36 -05:00
preseem_devices_live.ex fix/findings-medium-priority (#188) 2026-03-27 12:31:53 -05:00
preseem_devices_live.html.heex ux: overhaul Preseem devices page to match Gaiia mapping UX 2026-03-13 11:38:45 -05:00
preseem_insights_live.ex dialyzer: fix remaining 88 warnings — clean dialyzer run 2026-04-21 10:32:42 -05:00
preseem_insights_live.html.heex ux: improve navigation, tooltips, and discoverability across pages 2026-03-12 13:40:10 -05:00
settings_live.ex tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
settings_live.html.heex Deduplicate integrations: settings tab links to standalone page 2026-03-13 16:16:35 -05:00