Module: Inferno::DSL

Included in:
Entities::Test
Defined in:
lib/inferno/dsl.rb,
lib/inferno/dsl/jwks.rb,
lib/inferno/dsl/links.rb,
lib/inferno/dsl/results.rb,
lib/inferno/dsl/messages.rb,
lib/inferno/dsl/runnable.rb,
lib/inferno/dsl/auth_info.rb,
lib/inferno/dsl/assertions.rb,
lib/inferno/dsl/fhir_client.rb,
lib/inferno/dsl/http_client.rb,
lib/inferno/dsl/configurable.rb,
lib/inferno/dsl/suite_option.rb,
lib/inferno/dsl/suite_endpoint.rb,
lib/inferno/dsl/fhir_validation.rb,
lib/inferno/dsl/request_storage.rb,
lib/inferno/dsl/oauth_credentials.rb,
lib/inferno/dsl/resume_test_route.rb,
lib/inferno/dsl/fhir_client_builder.rb,
lib/inferno/dsl/fhirpath_evaluation.rb,
lib/inferno/dsl/http_client_builder.rb,
lib/inferno/dsl/input_output_handling.rb,
lib/inferno/dsl/tcp_exception_handler.rb,
lib/inferno/dsl/fhir_resource_validation.rb

Overview

The DSL for writing tests.

Defined Under Namespace

Modules: Assertions, Configurable, FHIRClient, FHIRResourceValidation, FHIRValidation, FhirpathEvaluation, HTTPClient, InputOutputHandling, Links, Messages, RequestStorage, Results, Runnable, TCPExceptionHandler Classes: AuthInfo, FHIRClientBuilder, HTTPClientBuilder, JWKS, OAuthCredentials, ResumeTestRoute, SuiteEndpoint, SuiteOption

Constant Summary collapse

INCLUDABLE_DSL_MODULES =
[
  Assertions,
  FHIRClient,
  HTTPClient,
  Results,
  FHIRValidation,
  FHIRResourceValidation,
  FhirpathEvaluation,
  Messages
].freeze
EXTENDABLE_DSL_MODULES =
[
  Runnable
].freeze

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



30
31
32
33
34
35
36
37
38
# File 'lib/inferno/dsl.rb', line 30

def self.included(klass)
  INCLUDABLE_DSL_MODULES.each do |dsl_module|
    klass.include dsl_module
  end

  EXTENDABLE_DSL_MODULES.each do |dsl_module|
    klass.extend dsl_module
  end
end