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" />
<PackageReference Include="Ignixa.TestScript" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Ignixa.TestScript&version=0.5.2-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
- Parse — JSON →
TestScriptDefinitionexpression tree - Evaluate — Execute operations and assertions via
ITestRequestProvider - Report — Produce FHIR
TestReportresource or JUnit XML
Related Packages
Ignixa.TestScript.FhirFakes— Auto-generate test fixturesIgnixa.TestScript.XUnit— Discover and run TestScripts as xUnit theories
| Product | Versions 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.
-
net10.0
- Ensure.That (>= 10.1.0)
- Fhir.Metrics (>= 1.3.1)
- Ignixa.Abstractions (>= 0.5.2)
- Ignixa.FhirPath (>= 0.5.2)
- Ignixa.Serialization (>= 0.5.2)
- Ignixa.Specification (>= 0.5.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Superpower (>= 3.1.0)
-
net9.0
- Ensure.That (>= 10.1.0)
- Fhir.Metrics (>= 1.3.1)
- Ignixa.Abstractions (>= 0.5.2)
- Ignixa.FhirPath (>= 0.5.2)
- Ignixa.Serialization (>= 0.5.2)
- Ignixa.Specification (>= 0.5.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- Superpower (>= 3.1.0)
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 | 33 | 6/16/2026 |
| 0.5.0-beta | 49 | 6/15/2026 |