Skip to content

[codex] Add puppet table tests#104

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

[codex] Add puppet table tests#104
grahamgilbert wants to merge 1 commit into
mainfrom
codex/puppet-tests

Conversation

@grahamgilbert
Copy link
Copy Markdown
Member

Summary

  • add first tests for Puppet info, logs, state, and facts tables
  • make YAML and facts loading injectable for deterministic coverage
  • cover YAML read/parse errors and Puppet facts command/JSON errors
  • fix transaction_uuid output mapping in PuppetInfoGenerate

Validation

  • GOCACHE=/tmp/osquery-extension-go-cache go test ./tables/puppet
  • 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