Integration Testing

No Change
adopt
First Added:June 12, 2026 Updated: July 2, 2026

Integration Testing. Verifies that modules, services, and infrastructure boundaries work together correctly.

Summary

What it is: Tests that exercise real collaborators: databases, queues, HTTP APIs, filesystems, or containers, often slower and fewer than unit tests.

When to use: Service boundaries, repository layers, Terraform modules with live providers (carefully), and CI smoke paths after build.

When to skip: Pure logic with no IO (keep Unit Testing). Full production E2E suites that belong in staged environments only.

Practices: Prefer TestContainer or ephemeral dependencies over shared staging DBs; keep tests deterministic; tag slow suites separately in CI.

Details

LayerGarden tools
API / browserPlaywright, Cypress, Selenium
ContainersTestContainer, Container Structure Test
Policy / configConftest, Helm Unittest (template-level)

Contrast: Code Scanner items analyze static artifacts; integration tests execute behavior.