Test Labels

September 13, 2023 · View on GitHub

We would like to also have tests distinguished by labels, not only by folders for specific components. We can also run the tests only with specific label(s).

Usage

See: https://onsi.github.io/ginkgo/#spec-labels

Types of labels

  • component
  • test type
  • category

Component Labels

Component LabelsDescription
buildBuild related tests
e2e-demose2e-demos related tests
pipelinePipeline Service related tests

Test Types Labels

Test Types LabelsDescription
slowSlow tests (See --slow-spec-threshold (https://onsi.github.io/ginkgo/#other-settings))
e2e-demose2e demos tests
loadLoad tests
performancePerformance related tests
smokeCritical functionality tests
serialTests which can’t be run in parallel
securitySecurity related tests

Test Stability Labels

Test Types LabelsDescription
flakyFlaky tests (all tests are stable unless marked flaky)

Test Categorization Labels

Test Types LabelsDescription
customer-feedbackTest created upon feedback from any customer channel (customer issue, telemetry data, …)
demoTests related to milestone demos