All rules

Missing Test Framework

Detects production code changes when the repository has no evidence of a test framework in project files.

Why this rule exists

Changes without any test infrastructure are higher risk; this is a repo-level signal, not a line-level defect.

Code example

Triggers the rule
  // New Service.cs added, no *.Tests.csproj or xunit reference anywhere in repo
Passes the rule
  // tests/MyApp.Tests/MyApp.Tests.csproj references xunit and mirrors production changes

Configuration

Disable or adjust the severity of this rule in .gauntletci.json:

{
  "rules": {
    "GCI0056": { "enabled": true, "severity": "Info" }
  }
}

See Configuration for the full schema.

Related rules

Implemented in src/GauntletCI.Core/Rules/Implementations/GCI0056_*.cs.

About the author

Eric Cogen -- Founder, GauntletCI

Twenty years as a senior technical consultant building and modernizing enterprise platforms across .NET, AWS, serverless, microservices, and AI-driven systems.