test do
title 'Server returns requested Patient resource from the Patient read interaction'
input :patient_id
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
Inferno ships with a web based user interface suitable for local use or deploying as a shared, central service.
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