Task · TXE-0004

Unit test coverage for helpers, flag parsing and Describe

Description

The project shipped with no unit tests, so nothing guarded the pure helpers or the collector’s descriptor contract.

Final Summary

Added in 36800a4: transceiver-collector/util_test.go covers contains, boolToFloat64 and milliwattsToDbm; transceiver-collector/collector_test.go covers compileRegexFlags and Describe, including a concurrency test run under -race. main_test.go followed in 9790544. Coverage stops at the hardware boundary — nothing here exercises EEPROM decoding, and there are still no captured-EEPROM fixtures.

View the source file on GitHub