tests/

directory
v0.0.0-...-da00872 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: Apache-2.0

README

Tests

Overview

The tests directory contains the sources for all Kyma tests. A Kyma test is Pod, container, or image referenced in a Kyma module or chart test section. It provides the module's test functionality. A Kyma test runs against a running Kyma cluster. It ensures the integrity and functional correctness of the cluster with all installed modules. Each subdirectory in the tests directory defines sources for one test suite, usually focusing on one component. The resulting Docker images are then referenced by the related Kyma modules or charts.

Details

Every Kyma test resides in a dedicated folder which contains its sources and a README.md file. This file provides instructions on how to build and develop the test suite.

The test name, which is also the folder name, is the component's name without any prefix or suffix, such as api-gateway.

The Docker image created from the sources of a test suite resides in a component folder marked with a suffix indicating the testing nature, such as -integration-tests. Example: The api-gateway component has its integration tests in tests/integration/api-gateway folder and produces the XX/api-gateway-integration-tests:0.5.1 Docker image.

Bundle the real e2e scenarios, such as kubeless-integration into one end-to-end subfolder. This folder contains one test project which executes all end-to-end tests divided into different packages by scenarios.

Bundle integration tests, such as api-gateway into one integration subfolder.

Bundle performance tests into one perf subfolder.

Development

Follow this development guide when you add a new test to the kyma repository.

Directories

Path Synopsis
service-catalog

Jump to

Keyboard shortcuts

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