Files
git.stella-ops.org/src/__Libraries/__Tests/StellaOps.ReachGraph.Cache.Tests/AGENTS.md

1.2 KiB

StellaOps.ReachGraph.Cache.Tests - Local Agent Charter

Roles

  • Backend developer
  • QA automation engineer

Working directory

  • src/__Libraries/__Tests/StellaOps.ReachGraph.Cache.Tests

Allowed dependencies

  • src/__Libraries/StellaOps.ReachGraph.Cache
  • src/__Libraries/StellaOps.ReachGraph
  • src/__Libraries/StellaOps.TestKit

Required reading

  • docs/README.md
  • docs/07_HIGH_LEVEL_ARCHITECTURE.md
  • docs/modules/platform/architecture-overview.md
  • docs/modules/reach-graph/README.md
  • docs/modules/reach-graph/architecture.md

Determinism and test rules

  • Use deterministic inputs: avoid DateTime.UtcNow, DateTimeOffset.UtcNow, Guid.NewGuid, and Random.Shared in tests.
  • Use TimeProvider and fixed seeds or fixtures for time- and randomness-dependent tests.
  • Use CultureInfo.InvariantCulture for parsing and formatting in tests.
  • Tag tests with TestCategories (Unit, Integration, Performance) and keep integration tests out of unit-only runs.
  • Keep tests offline and deterministic; prefer TestServer/TestHost with fixed inputs.

Quality and safety

  • ASCII-only strings and comments unless explicitly justified.
  • Clean up temp files/directories created during tests.