test/

directory
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0

README

Tests

Unit-tests

The command: make test will execute the unit-tests in every package and also generate the code coverage report.

End to end testing

End to end test suite can be executed with the comment: make e2e.

To test locally, you should use "Kind" for creating a multi nodes local cluster. And use the Kind cluster template: test/cluster-kind.yaml

kind create cluster --config test/cluster-config-gitlabci.yaml

Directories

Path Synopsis
e2e
metricsserver
Package metricsserver contains metricsserver deployment function and manifest files.
Package metricsserver contains metricsserver deployment function and manifest files.
utils
Package utils container testing helper to deploy a fake app and a fake hpa
Package utils container testing helper to deploy a fake app and a fake hpa

Jump to

Keyboard shortcuts

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