prop/test/microwaveprop/radio
Graham McIntire 0a9058bfa0
test: broaden coverage across parsers, schemas, and pure helpers
- SwpcClient: unparseable time_tag rows drop silently, integer / string
  numerics both cast, already-decoded list bodies (Req auto-decode) are
  accepted, non-JSON-array bodies return {:error, :not_a_list}, X-ray
  rows whose energy isn't the long wavelength are filtered, and the
  misspelled-upstream electron_contaminaton key flags
  electron_contaminated.
- UwyoSoundingClient: every month abbreviation routes to its correct
  number, bogus month tokens fall through to an empty result, and
  short-of-fixed-width lines are skipped without raising.
- Grid.wgrib2_grid_spec/0: lon/lat_start anchor to the SW corner,
  steps match Grid.step/0, cell counts span CONUS inclusive, and the
  spec's cell product equals length(Grid.conus_points/0).
- PollWorker: empty-link list is a no-op, and poll_fn receives host /
  community / radio_type straight from the link row.
- Contact submission_changeset: antenna heights are bounded to
  [0, 1000] ft, whitespace-only mode normalises without firing an
  invalid-mode error, plus a pair of StreamData properties — every
  sanctioned band validates and every out-of-list band string is
  rejected.

Suite: 2,380 tests + 148 properties (was 2,370 + 146); coverage
70.38% → 71.08% total; credo strict clean.
2026-04-23 13:56:29 -05:00
..
adif_import_test.exs feat(adif): carry NOTES / COMMENT into contact notes 2026-04-23 11:05:39 -05:00
band_resolver_property_test.exs test(property): add property tests for parsing + domain conversions 2026-04-21 13:57:47 -05:00
band_resolver_test.exs Rename 9cm band 3456 → 3400 2026-04-16 12:40:38 -05:00
callsign_client_test.exs test: cover geo, qrz record, callsign client 2026-04-16 14:09:44 -05:00
contact_edit_test.exs feat(contacts): private flag with scope-aware visibility 2026-04-18 17:49:01 -05:00
contact_submission_test.exs test: broaden coverage across parsers, schemas, and pure helpers 2026-04-23 13:56:29 -05:00
contact_test.exs feat(contacts): antenna height fields feed terrain analysis 2026-04-18 15:48:14 -05:00
csv_import_test.exs feat(contacts): add free-form notes field 2026-04-23 11:02:27 -05:00
edit_notifier_test.exs test: cover radio/edit_notifier 2026-04-16 14:58:55 -05:00
enrichment_status_test.exs Add Tier 1 test coverage: EnrichmentStatus, Markdown, health, RemoteIp, Maidenhead 2026-04-06 10:15:38 -05:00
import_matcher_test.exs CSV/ADIF import: upsert existing contacts on grid/mode refinement 2026-04-16 10:57:37 -05:00
import_run_test.exs feat(import): async CSV import with progress-tracking schema 2026-04-17 09:31:22 -05:00
maidenhead_property_test.exs test(property): add property tests for parsing + domain conversions 2026-04-21 13:57:47 -05:00
maidenhead_test.exs Add /beacons CRUD and /users admin page 2026-04-08 12:01:45 -05:00