Skip to content

Improve Kgateway Emitter e2e Test Coverage #26

@danehans

Description

@danehans

#25 added the initial e2e test suite and subtest (pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/basic.yaml). Additional integration test cases should be migrated to e2e subtests to improve e2e test coverage. This is a meta issue for tracking e2e test coverage and can be closed when the following integration tests are migrated to e2e tests:

  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/backend_protocol.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/backend_tls.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/basic_auth.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/cors.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/external_auth.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/load_balance.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/rewrite_target_and_use_regex.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/rewrite_target.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/service_upstream.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/ssl_passthrough.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/ssl_redirect.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/use_regex.yaml
  • pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/timeouts.yaml

At the time of creating this issue, the pkg/i2gw/implementations/kgateway/testing/testdata/{input|output}/golden.yaml still exists which tests multiple features. This test is not included in the above list because it should be separated into independent tests. After doing so, the above list should be updated accodingly.

To track progress, comment here if you will work on migrating a test and link to this issue in your PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions