Files
git.stella-ops.org/src/AirGap/__Tests/StellaOps.AirGap.Importer.Tests/AGENTS.md
2026-02-01 21:37:40 +02:00

1.2 KiB

AirGap Importer Tests Guild Charter

Working Directory

  • src/AirGap/__Tests/StellaOps.AirGap.Importer.Tests

Scope

  • Unit and integration tests for AirGap Importer validation, quarantine, versioning, and reconciliation flows.
  • Deterministic fixtures for DSSE, TUF, SBOM parsing, and evidence graph outputs.
  • Offline-only inputs (no network, no external services).

Required Reading

  • docs/README.md
  • docs/07_HIGH_LEVEL_ARCHITECTURE.md
  • docs/modules/platform/architecture-overview.md
  • docs/modules/airgap/guides/airgap-mode.md
  • docs/modules/airgap/guides/bundle-repositories.md
  • docs/modules/airgap/guides/offline-bundle-format.md

Working Agreements

  • Update task status in the sprint tracker and local TASKS.md for this directory.
  • Keep tests deterministic (fixed time, fixed IDs, stable ordering).
  • Prefer shared temp directory helpers and ensure cleanup.
  • Do not silently skip fixture-based tests; mark explicit skip when fixtures are missing.

Testing Rules

  • Use Unit vs Integration trait categories consistently.
  • Use WebApplicationFactory only when exercising HTTP endpoints.
  • Keep fixtures and golden files under this directory; no downloads.