helios-sof 0.2.3

This crate provides a complete implementation of the SQL-on-FHIR specification for Rust, enabling the transformation of FHIR resources into tabular data using declarative ViewDefinitions. It supports all major FHIR versions (R4, R4B, R5, R6) through a version-agnostic abstraction layer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Common test utilities for server integration tests.
//!
//! Builds the same router the `sof-server` binary serves, so integration
//! tests exercise production wiring rather than a hand-maintained stub.

use axum_test::TestServer;

/// Create a test server instance backed by the production router.
pub async fn test_server() -> TestServer {
    TestServer::new(helios_sof::app::create_app()).expect("failed to create test server")
}