Sha256: ec649e2e02883203776f7de366015eb2be60ec1bd551e385dc22d39b33d94265

Contents?: true

Size: 841 Bytes

Versions: 4

Compression:

Stored size: 841 Bytes

Contents

require_relative '../test_helper'

module DaVinciCRDTestKit
  class InstructionsCardReceivedAcrossHooksTest < Inferno::Test
    include DaVinciCRDTestKit::TestHelper

    title 'Valid Instructions cards received across all hooks'
    id :crd_valid_instructions_card_received_across_hooks
    description %(
      This test validates that a valid [Instructions card](https://hl7.org/fhir/us/davinci-crd/STU2/cards.html#instructions)
      was received across all hooks responses.

      The test will be skipped if no valid Instructions cards are returned across all hooks.
    )

    run do
      verify_at_least_one_test_passes(
        self.class.parent.parent.groups,
        'crd_valid_instructions_card_received',
        'None of the hooks invoked returned a valid Instructions card.',
        'across_hooks'
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
davinci_crd_test_kit-0.10.0 lib/davinci_crd_test_kit/server_tests/instructions_card_received_across_hooks_test.rb
davinci_crd_test_kit-0.9.1 lib/davinci_crd_test_kit/server_tests/instructions_card_received_across_hooks_test.rb
davinci_crd_test_kit-0.9.1.rc lib/davinci_crd_test_kit/server_tests/instructions_card_received_across_hooks_test.rb
davinci_crd_test_kit-0.9.0 lib/davinci_crd_test_kit/server_tests/instructions_card_received_across_hooks_test.rb