You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Banner says Engine Mode: SourceGenerated when source generation is disabled #7078
I've searched existing issues to ensure this isn't a duplicate
I've read the documentation and this isn't expected behavior
I'm using the latest version of TUnit
Description
Banner says Engine Mode: SourceGenerated when source generation is disabled by EnableTUnitSourceGeneration property or by TUNIT_EXECUTION_MODE env var.
Expected Behavior
The banner shows the reflection engine.
Actual Behavior
The banner says Engine Mode: SourceGenerated, yet the test runs.
Steps to Reproduce
Csproj contains <EnableTUnitSourceGeneration>false</EnableTUnitSourceGeneration> or env var TUNIT_EXECUTION_MODE=reflection.
publicclassBannerTests{[Test]publicvoidRuns(){}}
TUnit Version
1.75.0
.NET Version
.NET 10.0
Operating System
Windows
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
No response
IDE-Specific Issue?
I've confirmed this issue occurs when running via dotnet test or dotnet run, not just in my IDE
Activity
fix(engine): report the engine mode actually selected in the banner (t…