AI Slop Code RIsk Monitor

thomhurst/TUnit

A modern, fast and flexible .NET testing framework

6.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for thomhurst/TUnit, a C# project with 3,974 GitHub stars. SynthScan examined 563,390 lines of code across 3795 source files, recording 1375 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 6.8 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.8
Adjusted Signal
6.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
4.0K
Stars
C#
Language
563.4K
Lines of Code
3.8K
Files
1.4K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 8.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 934 finding(s).

Hallucinated Dependency & Supply Chain Risk 16.4/100 · LOW

Are imports declared and package/API names verified? 215 finding(s).

Agent Over-Engineering Ratio 6.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 227 finding(s).

PR Review Velocity Impact 27.9/100 · MEDIUM

Which changes need focused human review? 1375 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 188HIGH 50MEDIUM 187LOW 950

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1375 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators188 hits · 1990 pts
SeverityFileLineSnippetContext
CRITICALtests/TUnit.TestProject/HumanizerDisplayNameTests.cs21 return context.TestContext.Metadata.TestDetails.TestName.Humanize();CODE
CRITICALtests/TUnit.TestProject/ConsoleTests.cs12 await Assert.That(TestContext.Current.GetStandardOutput()).Contains(TestContext.Current.Metadata.TestDetails.MetCODE
CRITICALtests/TUnit.UnitTests/PropertyInjectorTests.cs24 await Assert.That(context.Metadata.TestDetails.TestClassInjectedPropertyArguments.Values.Single())CODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt146[DEBUG 01:24:41.842] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.TeCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt147[DEBUG 01:24:41.843] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt149[DEBUG 01:24:41.843] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParameCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt150[DEBUG 01:24:41.843] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt159[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt160[DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParamCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt161[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt162[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.TeCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt163[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt164[DEBUG 01:24:41.848] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParameCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt165[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt166[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt167[DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParamCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt168[DEBUG 01:24:41.850] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt183[DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt184[DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt185[DEBUG 01:24:41.855] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt186[DEBUG 01:24:41.855] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt198[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt199[DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt200[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt201[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt202[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt203[DEBUG 01:24:41.857] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt204[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt205[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt206[DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt207[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt208[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt209[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt210[DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt211[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt212[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt213[DEBUG 01:24:41.858] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt214[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt215[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt216[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt217[DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt218[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt219[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt220[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt221[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt222[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt223[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt224[DEBUG 01:24:41.860] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt225[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt226[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt227[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt228[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt229[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt230[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt231[DEBUG 01:24:41.860] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt232[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt233[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt234[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt235[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICAL⚡tests/TUnit.UnitTests/output.txt236[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
128 more matches not shown…
Over-Commented Block852 hits · 852 pts
SeverityFileLineSnippetContext
LOW…NugetTester/TUnit.NugetTester/AotCompatibilityTests.cs1using TUnit.Assertions.Enums;COMMENT
LOWtests/TUnit.TestProject/Tests.cs381 .IsEqualTo("ABCDE", StringComparison.Ordinal);COMMENT
LOWtests/TUnit.TestProject/Tests.cs401COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs21 // }COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs41 yield break;COMMENT
LOWtests/TUnit.TestProject/HookExecutionOrderTest.cs21 public void VerifyExecutionOrder()COMMENT
LOWtests/TUnit.TestProject/Bugs/5800/Repro.cs1using TUnit.TestProject.Attributes;COMMENT
LOW…roject/Bugs/3990/ClassLevelCombinedDataSourcesTests.cs81 await Assert.That(z).IsIn([true, false]);COMMENT
LOW…Project/Bugs/5728/DefaultTimeoutClassificationTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/Bugs/_6557/Tests.cs1using TUnit.Core.Interfaces;COMMENT
LOW…t.TestProject/Bugs/_6339/TimeoutAfterHookTokenTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/Bugs/1570/Tests.cs21 public async Task GetTests_Without_Filtering_On_TestClassArguments_Test()COMMENT
LOW…t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/3803/Tests.cs1using TUnit.TestProject.Attributes;COMMENT
LOW…tProject/Bugs/_2804/CriticalHookChainExecutionTests.cs181 // AfterEveryTest execution verifiedCOMMENT
LOW…stProject/Bugs/4715/AttributePropertyInjectionTests.cs1using TUnit.Core.Interfaces;COMMENT
LOW…2/InstanceMethodDataSourceWithAsyncInitializerTests.cs1using System.Collections.Concurrent;COMMENT
LOW…2/InstanceMethodDataSourceWithAsyncInitializerTests.cs21/// which was unexpected and resource-intensive.COMMENT
LOW…/TUnit.TestProject/Bugs/3993/IAsyncInitializerTests.cs1using System.Collections.Concurrent;COMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs1using System;COMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs21// ✓ Specific name match: /*/MyExplicitTestCOMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs41// - TestClass1.TestMethod2 ✓ (not explicit)COMMENT
LOW…TestProject/Bugs/_6554/PartialInjectionFailureTests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/_6554/Tests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/5700/Repro.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/Bugs/5700/Repro.cs21/// Making Test2 wait for Test1 as well (as an earlier version did) measuredCOMMENT
LOW…t.TestProject/Bugs/4440/GenericMethodDiscoveryTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/SharedTestHelpers/AnalyzerTestCompatibility.cs1using System;COMMENT
LOWtests/SharedTestHelpers/AnalyzerTestCompatibility.cs21/// test runtime). Each analyzer test csproj copies the relevant netstandard2.0 build into the testCOMMENT
LOWtests/SharedTestHelpers/RulesDecouplingVerifier.cs1using System.Collections.Generic;COMMENT
LOWtests/SharedTestHelpers/RulesDecouplingVerifier.cs21/// fixers must use the compile-time-baked <c>DiagnosticIds</c> constants instead, which thisCOMMENT
LOWtests/TUnit.Mocks.Tests/ManyParameterMockTests.cs1using System.Threading.Tasks;COMMENT
LOWtests/TUnit.Mocks.Tests/Issue5425Tests.cs1#nullable enableCOMMENT
LOWtests/TUnit.Mocks.Tests/WrapNoParameterlessCtorTests.cs1using TUnit.Mocks;COMMENT
LOWtests/TUnit.Mocks.Tests/NameCollisionTests.cs1using TUnit.Mocks.Arguments;COMMENT
LOWtests/TUnit.UnitTests/TestConstructorTests.cs41// NOTE: Working example with [TestConstructor] can be found in the source generated filesCOMMENT
LOWtests/TUnit.UnitTests/SessionActivityLifecycleTests.cs421 public ValueTask<IReadOnlyList<NamedHookDelegate<TestDiscoveryContext>>> CollectAfterTestDiscoveryHooksAsync() =COMMENT
LOWtests/TUnit.UnitTests/EmptyDataSourceTests.cs1namespace TUnit.UnitTests;COMMENT
LOW….Test._.verified/TUnit.Aspire.Test/IntegrationTest1.cs1using TUnit.Aspire;COMMENT
LOW….Test._.verified/TUnit.Aspire.Test/IntegrationTest1.cs21// });COMMENT
LOW…Unit.Engine.Tests/DefaultTimeoutClassificationTests.cs21 // The matching [Before(TestDiscovery)] hook in TestProject detects this class nameCOMMENT
LOW…tions.Tests/CovariantGenericExtensionInferenceTests.cs1using TUnit.Assertions.Attributes;COMMENT
LOWtests/TUnit.Assertions.Tests/AssertionGroupTests.cs41 // // Test: "Foo" should match (IsNullOrEmpty AND EqualTo("Foo")) OR (IsNullOrEmpty OR EqualTo("Foo"))COMMENT
LOWtests/TUnit.Assertions.Tests/AssertionGroupTests.cs61 // await Assert.That(async () =>COMMENT
LOWtests/TUnit.Assertions.Tests/MemberNullabilityTests.cs1namespace TUnit.Assertions.Tests;COMMENT
LOWtests/TUnit.Assertions.Tests/AssemblyAssertionTests.cs61// var assembly = typeof(AssemblyAssertionTests).Assembly;COMMENT
LOWtests/TUnit.Assertions.Tests/RangeAssertionTests.cs41 // {COMMENT
LOWtests/TUnit.Assertions.Tests/RangeAssertionTests.cs61 // public async Task Test_Range_IsAll_Explicit()COMMENT
LOW…Assertions.Tests/AssertionBuilders/OrAssertionTests.cs401 }COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue6296Tests.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue5720Tests.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue5707Tests.cs1using TUnit.Assertions.Exceptions;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Tests1774.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOW…/Bugs/Issue5692/ImplicitStringOperatorOverloadTests.cs1#pragma warning disable TUnitAssertions0002 // Assert statements must be awaited — inspecting returned assertion typeCOMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs1using TUnit.Assertions.Extensions;COMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs21 // await TUnitAssert.ThrowsAsync<TUnitAssertionException>(async () => await TUnitAssert.That(str).IsNullOrEmpty()COMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs41 // var str = "Hello";COMMENT
LOW….SourceGenerator.Tests/AssemblyNamesWithDashesTests.cs1namespace TUnit.Core.SourceGenerator.Tests;COMMENT
LOW…e.SourceGenerator.Tests/ParamsArrayCompilationTests.cs1using Microsoft.CodeAnalysis;COMMENT
792 more matches not shown…
Decorative Section Separators181 hits · 560 pts
SeverityFileLineSnippetContext
MEDIUMtests/TUnit.Mocks.Tests/EdgeCaseTests.cs7// ─── Interfaces for Edge Case Tests ───────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/EdgeCaseTests.cs122// ─── Test Classes ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RefStructTests.cs6// ─── Interface with ref struct methods ───────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RefStructTests.cs22// ─── Tests ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs8// ─── Base class for concrete hierarchy ──────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs21// ─── The kitchen-sink concrete class ────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs101// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs131// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs76// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs78// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs87// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs89// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs98// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs100// ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs130// ═══════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs132// ═══════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs141 // ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs143 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs7// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs9// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs25// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs27// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs52// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs54// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs274 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs276 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs380 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs382 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs457 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs459 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs548 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs550 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/TypedCallbackTests.cs151 // ─── Strongly-Typed Callback Tests (Beyond Parity: US23) ────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs12 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs14 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs115 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs118 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs289 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs291 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/SpanReturnTests.cs6// ─── Interfaces with span-returning methods ─────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/SpanReturnTests.cs16// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs26// ─── T2. Abstract class satisfies interface via abstract method ─────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs38// ─── T3. Class re-implements interface on top of base's implicit impl ───────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs56// ─── T4. Four-level inheritance, interface at root ──────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs72// ─── T5. Write-only property ────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs80// ─── T6. `abstract override` ─────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs92// ─── T7. Two interfaces with same-name members, different returns ───────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs119// ─── T9. Nullable value types ────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs128// ─── T10. IDisposable + IAsyncDisposable ─────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs137// ─── T11. Explicit event with custom add/remove on base ─────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs152// ─── T12. Inner class inheriting closed generic ─────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs165// ─── T13. `new`-redeclared property in derived interface ────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs177// ─── T14. Interface with indexer ────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs232// ─── T15. Class implementing a static-abstract interface ────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs248// ─── T16. IAsyncEnumerable with [EnumeratorCancellation] token ──────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs255// ─── T17. `required` members on a mock target ───────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs285// ─── T19. Obsolete member ───────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs295// ─── T20. `ref readonly` return ─────────────────────────────────────────────COMMENT
MEDIUM⚡tests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs304// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/MockAssertionExtensionsTests.cs22 // ───────────────────────── WasCalled() shorthand (at least once) ─────────────────────────COMMENT
121 more matches not shown…
Cross-File Repetition45 hits · 225 pts
SeverityFileLineSnippetContext
HIGH…CodeFixers.Tests/AwaitAssertionCodeFixProviderTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…yzers.Tests/CompilerArgumentsPopulatedAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH….Analyzers.Tests/PreferIsTrueOrIsFalseAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…ssertions.Analyzers.Tests/PreferIsNullAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…Analyzers.Tests/ObjectBaseEqualsMethodAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…ns.Analyzers.Tests/CollectionIsEqualToAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…s.Analyzers.Tests/ConstantInAssertThatAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…zers.Tests/InaccessibleConstructorMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH…TUnit.Mocks.Analyzers.Tests/StructMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH….Mocks.Analyzers.Tests/SealedClassMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH…zers.Tests/InaccessibleConstructorMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH…TUnit.Mocks.Analyzers.Tests/StructMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH….Mocks.Analyzers.Tests/SealedClassMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH…ourceGenerator.Tests/CrossCompilationAttributeTests.cs0namespace system.diagnostics.codeanalysis; public class excludefromcodecoverageattribute : attribute;STRING
HIGHtests/TUnit.Core.SourceGenerator.Tests/TestsBase.cs0namespace system.diagnostics.codeanalysis; public class excludefromcodecoverageattribute : attribute;STRING
HIGH…ts/TUnit.Assertions.SourceGenerator.Tests/TestsBase.cs0namespace system.diagnostics.codeanalysis; public class excludefromcodecoverageattribute : attribute;STRING
HIGH…ourceGenerator.Tests/CrossCompilationAttributeTests.cs0namespace system.diagnostics.codeanalysis; public class unconditionalsuppressmessageattribute : attribute;STRING
HIGHtests/TUnit.Core.SourceGenerator.Tests/TestsBase.cs0namespace system.diagnostics.codeanalysis; public class unconditionalsuppressmessageattribute : attribute;STRING
HIGH…ts/TUnit.Assertions.SourceGenerator.Tests/TestsBase.cs0namespace system.diagnostics.codeanalysis; public class unconditionalsuppressmessageattribute : attribute;STRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…t.Analyzers.Tests/TestMethodParametersAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGHtests/TUnit.Analyzers.Tests/ConsoleOutAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…/TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…nit.Analyzers.Tests/InstanceTestMethodAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…/TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…sts/MethodDataSourceMatchesConstructorAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
HIGH…/TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
HIGH…/TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
Structural Annotation Overuse36 hits · 62 pts
SeverityFileLineSnippetContext
LOWdocs/docs/assertions/extensibility/custom-assertions.md18### Step 1: Create an Assertion ClassCOMMENT
LOWdocs/docs/assertions/extensibility/custom-assertions.md62### Step 2: Create an Extension MethodCOMMENT
LOWdocs/docs/assertions/extensibility/custom-assertions.md86### Step 3: Use Your Custom AssertionCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md19// Step 1: Create a shared Docker networkCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md34// Step 2: Kafka needs the Docker networkCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md53// Step 3: Kafka UI needs both the network AND the Kafka containerCOMMENT
LOWdocs/docs/extending/logging.md116#### Step 1: Send the Test IDCOMMENT
LOWdocs/docs/extending/logging.md137#### Step 2: Resolve and Activate on the Receiving SideCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md11// Step 1: Create a test container wrapperCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md24// Step 2: Create WebApplicationFactory that uses the containerCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md59// Step 3: Use in testsCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs38 // Step 1: Browse the catalogue — the API queries PostgreSQL and returns productsCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs49 // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL onCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs57 // Step 3: View it again — this time the API serves it directly from RedisCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs65 // Step 4: Attempt to order more units than are in stock — the API validates againstCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs192 // Step 1: Remove file-level usingsCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs224 // Step 2: Remove usings inside namespace blocksCOMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs38 // Step 1: CreateArtifact (deduplicate name on 409 conflict)COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs94 // Step 2: Upload blob + compute SHA256COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs123 // Step 3: FinalizeArtifactCOMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs523 // Step 1: Inject propertiesCOMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs526 // Step 2: Initialize nested objects depth-first (discovery-only)COMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs529 // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer)COMMENT
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs80 // Step 2: Merge all sources and deduplicateSTRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs105 // Step 3: Generate source for each unique type. The request's location is dropped first,STRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs154 // Step 4: TM009 needs the location of the request that produced a failed model. PairingSTRING
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs144 // Step 1: Collect interface-implementing methods BEFORE any syntax modificationsCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs149 // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs156 // Step 3: Framework-specific conversions (also use semantic model while it still matches)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs160 // Step 4: Fix method signatures that now contain await but aren't marked asyncCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs168 // Step 5: Remove unnecessary base classes and interfacesCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs175 // Step 6: Update lifecycle methodsCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs182 // Step 7: Convert attributesCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs189 // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs199 // Step 9: Remove framework usings and add TUnit usings (do this LAST)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs213 // Step 10: Clean up trivia issues that can occur after transformationsCOMMENT
Verbosity Indicators27 hits · 49 pts
SeverityFileLineSnippetContext
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs38 // Step 1: Browse the catalogue — the API queries PostgreSQL and returns productsCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs49 // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL onCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs57 // Step 3: View it again — this time the API serves it directly from RedisCOMMENT
LOW⚡…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs65 // Step 4: Attempt to order more units than are in stock — the API validates againstCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs192 // Step 1: Remove file-level usingsCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs224 // Step 2: Remove usings inside namespace blocksCOMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs38 // Step 1: CreateArtifact (deduplicate name on 409 conflict)COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs94 // Step 2: Upload blob + compute SHA256COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs123 // Step 3: FinalizeArtifactCOMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs523 // Step 1: Inject propertiesCOMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs526 // Step 2: Initialize nested objects depth-first (discovery-only)COMMENT
LOW⚡src/TUnit.Engine/Services/ObjectLifecycleService.cs529 // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer)COMMENT
LOWsrc/TUnit.Engine/Building/TestBuilder.cs1478 // For generic methods, we need to check if the data types match the expected typesCOMMENT
LOWsrc/TUnit.Engine/Building/TestBuilder.cs1630 // For IEnumerable<T>, we need to check if the actual data is IEnumerable<int> vs IEnumerable<string> etc.COMMENT
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs80 // Step 2: Merge all sources and deduplicateSTRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs105 // Step 3: Generate source for each unique type. The request's location is dropped first,STRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs154 // Step 4: TM009 needs the location of the request that produced a failed model. PairingSTRING
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs144 // Step 1: Collect interface-implementing methods BEFORE any syntax modificationsCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs149 // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs156 // Step 3: Framework-specific conversions (also use semantic model while it still matches)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs160 // Step 4: Fix method signatures that now contain await but aren't marked asyncCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs168 // Step 5: Remove unnecessary base classes and interfacesCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs175 // Step 6: Update lifecycle methodsCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs182 // Step 7: Convert attributesCOMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs189 // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific)COMMENT
LOW⚡…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs199 // Step 9: Remove framework usings and add TUnit usings (do this LAST)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs213 // Step 10: Clean up trivia issues that can occur after transformationsCOMMENT
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtests/TUnit.Assertions.Tests/EquatableTests.cs259 // Test to verify the example from GitHub issue #2972 works exactly as requestedCOMMENT
HIGHtests/TUnit.Assertions.Tests/EquatableTests.cs259 // Test to verify the example from GitHub issue #2972 works exactly as requestedCOMMENT
HIGHsrc/TUnit.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/TUnit.AspNetCore.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/TUnit.Assertions.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Fake / Example Data27 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/TUnit.TestProject/CombinedDataSourceTests.cs314 Street = "123 Main St",CODE
LOWtests/TUnit.TestProject/CombinedDataSourceTests.cs339 await Assert.That(person.Address.Street).IsEqualTo("123 Main St");CODE
LOWtests/TUnit.TestProject/NestedPropertyInjectionTests.cs19 Street = "123 Main St",CODE
LOWtests/TUnit.TestProject/NestedPropertyInjectionTests.cs88 yield return () => new PersonWithDataSource { Name = "John Doe", Address = null! };CODE
LOWtests/TUnit.Mocks.Tests/RegexMatcherTests.cs53 await Assert.That(greeter.Greet("555-1234")).IsEqualTo("phone");CODE
LOWtests/TUnit.Mocks.Tests/RegexMatcherTests.cs82 await Assert.That(greeter.Greet("user@example.com")).IsEqualTo("email");CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs112 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs112 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs133 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs133 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW⚡…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs155 var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptSTRING
LOW⚡…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs155 var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptSTRING
LOW⚡…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs156 $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volupSTRING
LOW⚡…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs156 $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volupSTRING
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs1510 [TestCase(1, Author = "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs1525 [Property("Author", "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3028 {|#0:[Test(Author = "John Doe")]|}CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3040 [Property("Author", "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3060 {|#0:[Test(Description = "Test description", Author = "Jane Doe")]|}CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3073 [Property("Author", "Jane Doe")]CODE
LOWdocs/docs/assertions/string.md160 var email = "user@example.com";CODE
LOWdocs/docs/assertions/string.md415 var email = "user@example.com";CODE
LOWdocs/docs/assertions/member-assertions.md20 .Member(u => u.Email, email => email.IsEqualTo("user@example.com"));CODE
LOW…ssertions/extensibility/source-generator-assertions.md305await Assert.That("user@example.com").IsValidEmail(); // ✅ PassesCODE
LOWdocs/docs/migration/mstest.md886 [Owner("John Doe")]CODE
LOWdocs/docs/migration/mstest.md910 [Property("Owner", "John Doe")]CODE
LOWsrc/TUnit.Core/Helpers/DisplayNameSubstitutor.cs70 /// Replaces every occurrence of <paramref name="placeholder"/> that is followed by aCOMMENT
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…ts/TUnit.Mocks.SourceGenerator.Tests/Issue6829Tests.cs117 /// from C# 14 extension blocks are omitted because the harness's Roslyn predates them — theSTRING
MEDIUM…tCore.Core/Logging/CorrelatedTUnitLoggingExtensions.cs12/// and the <see cref="TUnitTestContextMiddleware"/> for robust test context resolution viaCOMMENT
MEDIUM…re.SourceGenerator/Generators/AotConverterGenerator.cs569 // Use Zen's more robust approach for handling nullable types and type checksCOMMENT
MEDIUMsrc/TUnit.Core/Executors/DedicatedThreadExecutor.cs364 // Use a more robust synchronous wait pattern to avoid deadlocksCOMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/profile-tunit.sh21# Usage:COMMENT
LOW.github/scripts/pr-review-comment.sh12# Usage:COMMENT
LOW.github/scripts/triage-issue.sh10# Usage:COMMENT
LOWsrc/TUnit.Core/Attributes/ParallelLimiterAttribute.cs30/// Example usage:COMMENT
LOWsrc/TUnit.Core/Attributes/ParallelGroupAttribute.cs24/// Example usage:COMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/TUnit.Core.SourceGenerator.Tests/TestsBase.cs133 // Run generators. Don't forget to use the new compilation rather than the previous one.COMMENT
LOW…ts/TUnit.Assertions.SourceGenerator.Tests/TestsBase.cs127 // Run generators. Don't forget to use the new compilation rather than the previous one.COMMENT
MEDIUM.github/workflows/codeql.yml58 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs7/// Regression tests for issue #4032: IAsyncInitializer lifecycle change broke complex test infrastructure orchestrationCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/TUnit.Engine/Framework/TestRequestHandler.cs8internal sealed class TestRequestHandler : IRequestHandlerCODE