Package org.fhirfrog.frog.junit
package org.fhirfrog.frog.junit
Programmatic JUnit execution entry point for TestScript files.
This package provides the bridge between the CLI/build-tool invocation layer and
the JUnit Platform. A single TestScript file is executed as a JUnit
DynamicTest, capturing TestResult objects
for downstream TestReport generation.
Key Classes
ProgrammaticTestExecutor— Parses a TestScript file and executes it via a JUnitDynamicTest, returning aJUnitExecutor.ExecutionResultwith pass/fail status and collectedTestResultobjects
Usage
ProgrammaticTestExecutor executor = new ProgrammaticTestExecutor();
JUnitExecutor.ExecutionResult result = executor.executeTestScript(
"patient-crud.json",
"http://localhost:8080/fhir",
Path.of("fixtures"));
- See Also:
-
ClassesClassDescriptionExecutes tests programmatically using JUnit Platform Launcher.Executes TestScript/TestPlan files via DynamicTest execution.