pub async fn run<CTX: Clone, Client: FHIRClient<CTX, OperationOutcomeError>>(
client: &Client,
ctx: CTX,
test_script: Arc<TestScript>,
options: Arc<TestRunnerOptions>,
) -> Result<TestReport, TestScriptError>Expand description
Runs a FHIR TestScript using the provided client and execution context.
This executes the TestScript lifecycle:
- fixture setup
- setup actions
- test actions
- teardown actions
ยงErrors
Returns TestScriptError if:
- fixture setup fails
- setup actions fail
- test execution fails
- teardown execution fails
- an operation performed by the FHIR client fails