diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-20 21:34:28 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-20 21:34:28 +0200 |
| commit | 4624a5244d019ed9d266351c262531fe1e9ff0a1 (patch) | |
| tree | b9349a827623f07f1cb1d021842fa4d2d5773e1c /AGENTS.md | |
| parent | 40328738dc02fb261bb73338919c3f5a737f8373 (diff) | |
test: add comprehensive unit tests for 82% coverage
Added test suites:
- types_test.go: Tests for Aggregate, HostAggregate, Epoch, Category, Metric,
OutputFormat, word wrapping, and formatting functions
- report_test.go: Tests for Reporter creation and report generation across
different categories, metrics, and output formats
- aggregate_test.go: Tests for file-based aggregation, context cancellation,
and helper functions
- db_test.go: Tests for database operations including schema creation, imports,
record reset, and aggregate loading
Coverage improved from 17.6% to 82.1%, exceeding the 70% target.
Amp-Thread-ID: https://ampcode.com/threads/T-019c7c73-58f9-7516-958d-f30eb17a3bff
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'AGENTS.md')
0 files changed, 0 insertions, 0 deletions
