aboutsummaryrefslogtreecommitdiffstats
path: root/test/fixtures
AgeCommit message (Collapse)AuthorFilesLines
2026-09-17feat: parse df and du output for the disk and cache cardsDanilo M.2-0/+12
2026-09-17feat: add per-core CPU times and named sensor readsDanilo M.1-0/+11
2026-09-17feat: parse the cached OWM responseDanilo M.2-0/+2
Lua patterns instead of a JSON library: the current-weather response is flat and known, so six scalars do not justify a dependency. Every failure path (truncated write, empty file, garbage, an API error body, nil input) returns nil rather than raising, since a Lua error here is a blank dashboard. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16feat: add /proc and /sys parsers with fixture testsDanilo M.3-0/+13
Parsers take file contents as a string, not a path, so they test against committed fixtures with no filesystem mocking. hwmon is globbed by its name file rather than a fixed index, carried over from the old config: indices drift across kernel reorders and a stale one silently reads a different chip. Failure returns nil, never 0. A sensor reading 0 C is legitimate, so 0 cannot double as an error value. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>