tests/

directory
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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. For example, monitoring.

The Docker image resulting from the sources of a test suite resides in the dedicated tests subfolder. Example: The Event Bus component has its acceptance tests in the tests/event-bus folder and produces the XX/tests/event-bus: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.

Development

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

Directories

Path Synopsis
acceptance
api-controller-acceptance-tests
apiserver-proxy-tests
application-connector-tests
application-gateway-tests
application-operator-tests
application-registry-tests
asset-store
connection-token-handler-tests
connector-service-tests
end-to-end
upgrade/internal/platform/logger
Package logger is responsible for logging.
Package logger is responsible for logging.
event-bus
gateway-tests
integration
test-namespace-controller

Jump to

Keyboard shortcuts

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