Skip to content

[codex] Improve munki table tests#101

Merged
grahamgilbert merged 4 commits into
mainfrom
codex/munki-tests
Jun 3, 2026
Merged

[codex] Improve munki table tests#101
grahamgilbert merged 4 commits into
mainfrom
codex/munki-tests

Conversation

@grahamgilbert

Copy link
Copy Markdown
Member

Summary

  • restore reportPath after tests to avoid global state leakage
  • add exact Munki column coverage
  • cover missing and invalid report behavior
  • cover invalid MunkiDate string parsing

Validation

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

@grahamgilbert grahamgilbert marked this pull request as ready for review June 3, 2026 18:39
@grahamgilbert grahamgilbert merged commit 445c4b9 into main Jun 3, 2026
10 checks passed
@grahamgilbert grahamgilbert deleted the codex/munki-tests branch June 3, 2026 18:40
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