Commit Graph

2 Commits

Author SHA1 Message Date
dc356417ec test: disable parallel execution to fix data races
All checks were successful
CI / Test (push) Successful in 57s
CI / Build (push) Successful in 44s
Removes t.Parallel() from TestRadioMenu_Unit, TestShowVersion_Unit,
and TestPrecheck_Unit. These tests mutate globals, redirect os.Stdout,
or call external dependencies, causing races when run concurrently
with other tests under -race.
2026-06-06 09:57:43 +01:00
5bbeb66afb test: add unit and integration tests for core functionality
All checks were successful
gobuild / build (push) Successful in 21s
Added comprehensive unit and live integration tests in new files:
- commander_test.go: Covers isInstalled and subExecute functions
- filer_test.go: Covers createIniFile with various scenarios
- radiomenu_test.go: Covers Short, Quit, and RadioMenu
- stations_test.go: Covers showVersion and precheck

These tests ensure reliability across happy paths, edge cases, and live environments.
2026-03-03 19:21:24 +00:00