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
// New Service.cs added, no *.Tests.csproj or xunit reference anywhere in repo // tests/MyApp.Tests/MyApp.Tests.csproj references xunit and mirrors production changesConfiguration
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
Test Quality Gaps
Detects low-quality test patterns: silenced tests ([Ignore]/[Skip]), uninformative method names, and test methods missing any assertions.
Uncaught Exception Path
Fires when throw new is added without a corresponding Assert.Throws or Should().Throw assertion in the test suite.
Implemented in src/GauntletCI.Core/Rules/Implementations/GCI0056_*.cs.
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.
