package
0.0.0-20241011115532-65744502979b
Repository: https://github.com/kyma-project/lifecycle-manager.git
Documentation: pkg.go.dev

# README

E2e Tests

This subdirectory contains e2e tests used for the e2e verification of the watcher component. Those tests are written to run inside a pipeline. But they can also be run on a local machine. See the Run the e2e tests locally section for details.

Contents

  • Test suite that sets up required clients and configurations.
  • Watcher end-to-end tests that includes tests and the end-to-end workflow of the watcher.
  • Makefile that includes targets to execute the watcher e2e test suite.

Run the e2e tests locally

  1. Set up your local environment using steps 1 to 3 from this guide. Create a cluster, and install Istio CRDs and cert-manager. Skip all the remaining steps from the guide.
  2. Export the following K8s configurations as environment variables:
    export KCP_KUBECONFIG=$(k3d kubeconfig write kcp-local)
    export SKR_KUBECONFIG=$(k3d kubeconfig write skr-local)
    
  3. Run make watcher-enqueue.