Skip to content

test: migrate config and group commands to ginkgo e2e - #1

Open
guoqqqi wants to merge 2 commits into
test/e2e-route-service-upstreamfrom
test/e2e-config-and-groups
Open

test: migrate config and group commands to ginkgo e2e#1
guoqqqi wants to merge 2 commits into
test/e2e-route-service-upstreamfrom
test/e2e-config-and-groups

Conversation

@guoqqqi

@guoqqqi guoqqqi commented Apr 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • migrate plugin-config, plugin-metadata, global-rule, and consumer-group command coverage from mocked Admin API tests to real Ginkgo E2E coverage
  • keep only local unit tests for CLI validation and self-contained logic
  • intended as stacked helper PR on the fork because upstream base branches are not writable from the current account

Validation

  • go test ./pkg/cmd/pluginconfig/... ./pkg/cmd/pluginmetadata/... ./pkg/cmd/globalrule/... ./pkg/cmd/consumergroup/...
  • go test -c -tags e2e ./test/e2e
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="plugin-config command" -ginkgo.v
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="plugin-metadata command" -ginkgo.v
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="global-rule command" -ginkgo.v
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="consumer-group command" -ginkgo.v

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