kube-state-metrics/tests
Manuel Rüger e3f0cbde58 Support Kubernetes 1.22.0 2021-08-05 14:21:13 +02:00
..
e2e tests/e2e/main_test.go use new promlint package and drop github.com/prometheus/prometheus dependency 2021-07-14 10:43:18 +02:00
lib Update go module path to k8s.io/kube-state-metrics/v2 2020-09-21 10:58:08 +02:00
manifests tests/manifests/csr.yaml: Migrate to v1 2020-10-13 14:22:48 +02:00
rules Add promtool rule tests 2021-02-15 16:59:13 +00:00
README.md use github actions for CI checks 2020-08-10 12:50:17 -07:00
compare-sharding.sh Add auto detecting of sharding 2019-08-30 22:45:35 +02:00
compare_benchmarks.sh add shellcheck to the ci and perform minor cleanup of bash scripts in kube_state_metrics 2019-02-11 11:29:32 -08:00
e2e.sh Support Kubernetes 1.22.0 2021-08-05 14:21:13 +02:00

README.md

End2end testsuite

This folder contains simple e2e tests. When launched, it spins up a kubernetes cluster using kind, creates several kubernetes resources and launches a kube-state-metrics deployment. Then, it runs verification tests: check metrics' presence, lint metrics, check service health, etc.

The test suite is run automatically using Github Actions.

Running locally

To run the e2e tests locally run the following command:

./tests/e2e.sh