Skip to content

[codex] Improve wifi_network table tests#109

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

[codex] Improve wifi_network table tests#109
grahamgilbert wants to merge 1 commit into
mainfrom
codex/wifi-network-tests

Conversation

@grahamgilbert
Copy link
Copy Markdown
Member

Summary

  • add deterministic command and osquery fakes for wifi_network tests
  • cover disconnected Wi-Fi output, command failures, query errors, generator output, and wdutil parsing edge cases
  • route WifiNetworkGenerate through an injectable helper while preserving production behavior

Tests

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