Class: Gitlab::QA::Scenario::Template
- Inherits:
-
Object
- Object
- Gitlab::QA::Scenario::Template
show all
- Defined in:
- lib/gitlab/qa/scenario/template.rb
Direct Known Subclasses
Component::Specs, Gitlab::QA::Scenario::Test::Instance::Airgapped, Gitlab::QA::Scenario::Test::Instance::Any, Gitlab::QA::Scenario::Test::Instance::DeploymentBase, Gitlab::QA::Scenario::Test::Instance::Geo, Gitlab::QA::Scenario::Test::Instance::Image, Gitlab::QA::Scenario::Test::Instance::Smoke, Gitlab::QA::Scenario::Test::Integration::Actioncable, Gitlab::QA::Scenario::Test::Integration::ClientSSL, Gitlab::QA::Scenario::Test::Integration::Elasticsearch, Gitlab::QA::Scenario::Test::Integration::Geo, Gitlab::QA::Scenario::Test::Integration::GitalyCluster, Gitlab::QA::Scenario::Test::Integration::Jira, Gitlab::QA::Scenario::Test::Integration::Kubernetes, Gitlab::QA::Scenario::Test::Integration::LDAP, Gitlab::QA::Scenario::Test::Integration::MTLS, Gitlab::QA::Scenario::Test::Integration::Mattermost, Gitlab::QA::Scenario::Test::Integration::Registry, Gitlab::QA::Scenario::Test::Integration::RegistryTLS, Gitlab::QA::Scenario::Test::Integration::SAML, Gitlab::QA::Scenario::Test::Integration::SMTP, Gitlab::QA::Scenario::Test::Integration::SSHTunnel, Gitlab::QA::Scenario::Test::Omnibus::Image, Gitlab::QA::Scenario::Test::Omnibus::Update, Gitlab::QA::Scenario::Test::Omnibus::Upgrade, Gitlab::QA::Scenario::Test::Sanity::Version
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
5
6
7
8
9
10
|
# File 'lib/gitlab/qa/scenario/template.rb', line 5
def self.perform(*args)
new.tap do |scenario|
yield scenario if block_given?
return scenario.perform(*args)
end
end
|
Instance Method Details
12
13
14
|
# File 'lib/gitlab/qa/scenario/template.rb', line 12
def perform(*_args)
raise NotImplementedError
end
|