Skip to main content
Version: Nightly

Integration Test

Introduction

Integration tests cover behavior that crosses crate or service boundaries, such as HTTP and gRPC handling, distributed components, or external storage. They use Rust's test harness and live in the tests-integration package.

Run the package with:

cargo nextest run -p tests-integration

Some cases require environment variables or fixtures for external services. Follow the package's setup instructions before running those cases.

Use an integration test when a crate-level test or a Sqlness case cannot exercise the required boundary. Keep isolated logic in unit tests so that failures remain fast to reproduce.