Skip to content

test: migrate test suite to TUnit - #58

Merged
ScottishTapWater merged 1 commit into
mainfrom
test/migrate-to-tunit
Nov 14, 2026
Merged

ScottishTapWater merged 1 commit into
mainfrom
test/migrate-to-tunit

Conversation

@ScottishTapWater

Copy link
Copy Markdown
Contributor

Migrate all seven test projects from xUnit v3 to TUnit 1.85.0. Preserve test cases, assertion semantics and Roslyn's per-class serialisation. Replace xUnit packaging fixtures and collection scheduling with TUnit data sources and execution-time initialisation.

Reference TUnit.Engine and TUnit.Assertions directly to avoid the convenience package's coverage dependency conflicting with in-process .NET 11 MSBuild. Retain the framework-neutral Roslyn testing helpers.

Validation:

  • Release build and dotnet format --verify-no-changes --no-restore pass.
  • The existing CI test command passes all 1,037 cases with no failures or skips.
  • TRX results match the baseline case count for every test method. Inline argument rows and embedded source fixtures are unchanged.

Existing MSBuild dependency and System.Composition assembly-version warnings remain.

@greptile-apps

greptile-apps Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Migrates all seven test projects from xUnit v3 to TUnit 1.85.0.

  • Library and unit-package tests now run through TUnit.
  • Roslyn analyzer and generator tests now run through TUnit.
  • Packaging checks now use TUnit-managed MSBuild fixtures.

No actionable issues were found. This review did not independently run the build or tests.

ScottishTapWater acknowledges that existing MSBuild dependency and System.Composition assembly-version warnings remain; these are described as pre-existing.

Reviews (1) · Last reviewed commit: "test: migrate test suite to TUnit" · Reviewed by Greptile

@ScottishTapWater
ScottishTapWater enabled auto-merge (squash) November 14, 2026 23:43
@ScottishTapWater
ScottishTapWater merged commit 2e3a19d into main Nov 14, 2026
6 checks passed
@ScottishTapWater
ScottishTapWater deleted the test/migrate-to-tunit branch November 14, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant