istio

package module
v0.0.0-...-594d9d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

README

Istio component tests

Istio component tests use the cucumber/godog library.

Prerequisites

  • Kubernetes installed and kubeconfig configured to point to this cluster
  • Kyma installed on the cluster with the minimum set of components)
  • Environment variables exported (the only required environment variable is KYMA_PROFILE)
Environment variables

These environment variables determine how the tests are run on both Prow and your local machine:

  • KYMA_PROFILE - set this environment variable accordingly to the Kyma profile installed on the Kubernetes cluster. The possible values are evaluation or production.
  • EXPORT_RESULT - set this environment variable to true if you want to export test results to JUnit XML, Cucumber JSON, and HTML report. The default value is false.

Usage

To start the test suite, run:

make test

If you don't have a cluster, you can run the tests on your local machine. To do so, run:

make test-k3d

This command creates a k3d cluster on your local machine, installs Kyma on it, and runs the tests.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceStruct

type ResourceStruct struct {
	Cpu    string
	Memory string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL