Skip to content

[codex] Improve socpower table tests#105

Merged
grahamgilbert merged 5 commits into
mainfrom
codex/socpower-tests
Jun 3, 2026
Merged

[codex] Improve socpower table tests#105
grahamgilbert merged 5 commits into
mainfrom
codex/socpower-tests

Conversation

@grahamgilbert

Copy link
Copy Markdown
Member

Summary

  • add exact column, interval parsing, and output formatting coverage
  • split generator logic into deterministic helpers
  • cover powermetrics stat errors and generator behavior

Validation

  • GOCACHE=/tmp/osquery-extension-go-cache go test ./tables/socpower
  • GOCACHE=/tmp/osquery-extension-go-cache go test ./...

@grahamgilbert grahamgilbert marked this pull request as ready for review June 2, 2026 15:44
@grahamgilbert grahamgilbert merged commit e4ff8eb into main Jun 3, 2026
10 checks passed
@grahamgilbert grahamgilbert deleted the codex/socpower-tests branch June 3, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant