debian-mirror-gitlab/doc/development/testing_guide/end_to_end/rspec_metadata_tests.md
2020-04-08 14:13:33 +05:30

2.2 KiB

RSpec metadata for end-to-end tests

This is a partial list of the RSpec metadata (a.k.a. tags) that are used in our end-to-end tests.

Tag Description
:elasticsearch The test requires an Elasticsearch service. It is used by the instance-level scenario Test::Integration::Elasticsearch to include only tests that require Elasticsearch.
:kubernetes The test includes a GitLab instance that is configured to be run behind an SSH tunnel, allowing a TLS-accessible GitLab. This test will also include provisioning of at least one Kubernetes cluster to test against. This tag is often be paired with :orchestrated.
:orchestrated The GitLab instance under test may be configured by gitlab-qa to be different to the default GitLab configuration, or gitlab-qa may launch additional services in separate docker containers, or both. Tests tagged with :orchestrated are excluded when testing environments where we can't dynamically modify GitLab's configuration (for example, Staging).
:quarantine The test has been quarantined, will run in a separate job that only includes quarantined tests, and is allowed to fail. The test will be skipped in its regular job so that if it fails it will not hold up the pipeline.
:reliable The test has been promoted to a reliable test meaning it passes consistently in all pipelines, including merge requests.
:requires_admin The test requires an admin account. Tests with the tag are excluded when run against Canary and Production environments.