Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Inferno Framework

Everything you need to create, execute and share tests for health IT systems providing HL7® FHIR® standard APIs.

Get started now Read the Docs View it on GitHub

Simple to Read, Simple to Write

Inferno tests are written in a Ruby DSL, with a focus on readability. Inferno provides tools for easily testing FHIR APIs, including robust support for FHIR Resource validation.

test do
  title 'Server returns requested Patient resource from the Patient read interaction'
  description %(
        Verify that Patient resources can be read from the server.
      )

  input :patient_id
  # Named requests can be used by other tests
  makes_request :patient

  run do
    fhir_read(:patient, patient_id, name: :patient)

    assert_response_status(200)
    assert_resource_type(:patient)
    assert resource.id == patient_id,
           "Requested resource with id #{patient_id}, received resource with id #{resource.id}"
  end
end

A Web UI, Out of the Box

Inferno ships with a web based user interface suitable for local use or deploying as a shared, central service. Inferno Web UI

Create, Share, Extend

Inferno Test Kits can be easily shared and extended so you can focus on your unique tests.

require 'smart_app_launch_test_kit'

module MyTestKit
  class MyTestSuite < Inferno::TestSuite
    group from: :smart_discovery
  end
end

HL7, FHIR and the FHIR [FLAME DESIGN] are the registered trademarks of Health Level Seven International and their use does not constitute endorsement by HL7.