Skip to content

[codex] Improve energyimpact table tests#94

Draft
grahamgilbert wants to merge 1 commit into
mainfrom
codex/energyimpact-tests
Draft

[codex] Improve energyimpact table tests#94
grahamgilbert wants to merge 1 commit into
mainfrom
codex/energyimpact-tests

Conversation

@grahamgilbert
Copy link
Copy Markdown
Member

Summary

  • split interval parsing and output formatting into deterministic helpers
  • replace host-dependent generator coverage with runner-backed tests
  • add stat error coverage for powermetrics execution

Validation

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

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