Skip to content

[codex] Improve munki table tests#101

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

[codex] Improve munki table tests#101
grahamgilbert wants to merge 1 commit 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 ./...

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