Class: Gitlab::QA::Scenario::Template

Inherits:
Object
  • Object
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::AiGatewayBase, Gitlab::QA::Scenario::Test::Integration::ClientSSL, Gitlab::QA::Scenario::Test::Integration::ContinuousVulnerabilityScanning, Gitlab::QA::Scenario::Test::Integration::Elasticsearch, Gitlab::QA::Scenario::Test::Integration::Geo, Gitlab::QA::Scenario::Test::Integration::GitalyCluster, Gitlab::QA::Scenario::Test::Integration::GitlabPages, Gitlab::QA::Scenario::Test::Integration::Import, Gitlab::QA::Scenario::Test::Integration::Integrations, Gitlab::QA::Scenario::Test::Integration::Jira, Gitlab::QA::Scenario::Test::Integration::LDAP, Gitlab::QA::Scenario::Test::Integration::MTLS, Gitlab::QA::Scenario::Test::Integration::Mattermost, Gitlab::QA::Scenario::Test::Integration::Metrics, Gitlab::QA::Scenario::Test::Integration::Opensearch, Gitlab::QA::Scenario::Test::Integration::Registry, Gitlab::QA::Scenario::Test::Integration::RegistryTLS, Gitlab::QA::Scenario::Test::Integration::RegistryWithCDN, Gitlab::QA::Scenario::Test::Integration::SAML, Gitlab::QA::Scenario::Test::Integration::SMTP, Gitlab::QA::Scenario::Test::Integration::ServicePingDisabled, Gitlab::QA::Scenario::Test::Integration::SuggestedReviewer, Gitlab::QA::Scenario::Test::Omnibus::Image, Gitlab::QA::Scenario::Test::Omnibus::UpdateFromPrevious, Gitlab::QA::Scenario::Test::Omnibus::Upgrade

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.perform(*args) ⇒ Object



7
8
9
10
11
12
# File 'lib/gitlab/qa/scenario/template.rb', line 7

def self.perform(*args)
  new.tap do |scenario|
    yield scenario if block_given?
    return scenario.perform(*args)
  end
end

Instance Method Details

#perform(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/gitlab/qa/scenario/template.rb', line 14

def perform(*_args)
  raise NotImplementedError
end