Ignixa.TestScript 0.5.2-beta

This is a prerelease version of Ignixa.TestScript.
dotnet add package Ignixa.TestScript --version 0.5.2-beta
                    
NuGet\Install-Package Ignixa.TestScript -Version 0.5.2-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ignixa.TestScript" Version="0.5.2-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ignixa.TestScript" Version="0.5.2-beta" />
                    
Directory.Packages.props
<PackageReference Include="Ignixa.TestScript" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ignixa.TestScript --version 0.5.2-beta
                    
#r "nuget: Ignixa.TestScript, 0.5.2-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ignixa.TestScript@0.5.2-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ignixa.TestScript&version=0.5.2-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Ignixa.TestScript&version=0.5.2-beta&prerelease
                    
Install as a Cake Tool

Ignixa.TestScript

A FHIR TestScript execution engine that parses and evaluates TestScript resources against any FHIR server.

Installation

dotnet add package Ignixa.TestScript

Quick Start

using Ignixa.TestScript.Parsing;
using Ignixa.TestScript.Evaluation;
using Ignixa.TestScript.Client;
using Ignixa.TestScript.Fixtures;

// Parse a TestScript
var result = TestScriptParser.ParseFile("tests/patient-crud.json");
if (!result.IsSuccess)
{
    foreach (var error in result.Errors)
        Console.Error.WriteLine(error.Message);
    return;
}

// Configure execution
var httpClient = new HttpClient { BaseAddress = new Uri("http://localhost:5000") };
var provider = new HttpTestRequestProvider(httpClient);

// Execute
var evaluator = new TestScriptEvaluator(provider, new InlineFixtureProvider(), schemaProvider);
var report = await evaluator.ExecuteAsync(result.Value!, CancellationToken.None);

Console.WriteLine($"Result: {report.OverallOutcome}"); // Pass, Fail, or Error

Architecture

The engine follows a three-phase pattern:

  1. Parse — JSON → TestScriptDefinition expression tree
  2. Evaluate — Execute operations and assertions via ITestRequestProvider
  3. Report — Produce FHIR TestReport resource or JUnit XML
  • Ignixa.TestScript.FhirFakes — Auto-generate test fixtures
  • Ignixa.TestScript.XUnit — Discover and run TestScripts as xUnit theories
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Ignixa.TestScript:

Package Downloads
Ignixa.TestScript.XUnit

xUnit integration for FHIR TestScript execution - discover and run TestScript files as xUnit theories

Ignixa.TestScript.FhirFakes

FhirFakes integration for TestScript fixture generation - auto-generate test data from resource type

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.2-beta 0 6/16/2026
0.5.0-beta 40 6/15/2026