Skip to content

[codex] Improve mdm table tests#100

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

[codex] Improve mdm table tests#100
grahamgilbert merged 3 commits into
mainfrom
codex/mdm-tests

Conversation

@grahamgilbert

Copy link
Copy Markdown
Member

Summary

  • make MDM profile/status helpers injectable for deterministic tests
  • add enrolled and unenrolled generator coverage
  • cover profile command/plist errors and enrollment status parsing errors
  • use the passed filesystem when checking for the profiles binary

Validation

  • GOCACHE=/tmp/osquery-extension-go-cache go test ./tables/mdm
  • 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 0f730d4 into main Jun 3, 2026
11 of 12 checks passed
@grahamgilbert grahamgilbert deleted the codex/mdm-tests branch June 3, 2026 18:39
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