compliantkubernetes-apps icon indicating copy to clipboard operation
compliantkubernetes-apps copied to clipboard

Unit tests for alerts

Open viktor-f opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. It is very important that alerts actually work when they are supposed to fire. For this reason we should start adding unit tests (and also integration tests at some point) for our alerts. Most important is probably to test the alerts rules we create, as those we get from prometheus-operator are already tested by others.

Prometheus unit testing: https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/

Describe the solution you'd like Some kind of unit-tests for our alerts that run in this pipeline.

Describe alternatives you've considered

Additional context

Definition of done:

  • Unit tests for our alerts

viktor-f avatar Feb 02 '22 10:02 viktor-f