Skip to content

[codex] Improve mdm table tests#100

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

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

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