FHIR Testing
0.1.0 - ci-build

FHIR Testing, published by NHO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/fhirtesting/ and changes regularly. See the Directory of published versions

Home

Official URL: http://costateixeira.github.io/fhirtesting/ImplementationGuide/fhirtesting Version: 0.1.0
Draft as of 2024-08-13 Computable Name: FHIRTesting

This Implementation Guide presents the artifacts and data exchange used in testing of FHIR specifications.

The basis for this approach is (not exclusively):

Authoring

  • Test Authoring is done with FHIR IG Publisher
  • Tests are defined with a Gherkin dialect reference in a TestPlan
    • Gherkin scripts are authored as (reusable) text files
    • Gherkin scripts can be used in different TestPlans
    • The publishing tool creates a Test Plan Bundle, containing
      • Test Plan
      • Gherkin scripts
      • Necessary test data
    • TestPlan indicates which artifact/feature/capability it covers

Registration

  • Test Registration consists of selecting the features/capabilities to test, from which the TestPlans can be obtained.
  • Test Registration may include providing parameters e.g. server URL…

Execution

  • Test Execution can be initiated pointing to:
    • TestPlan to execute
    • Test data and config to execute
    • Test fixtures needed
  • Test Execution uses a TestPlan $execution operation

Reporting

  • Test reporting is done with a TestPlan(??) resource
  • The Test Report reports back:
    • The results of the execution
    • Any self-declarations by the vendor
    • Attestation by a test monitor