Skip to content

Update TUnit package to version 0.90.45 for TUnitTests - #491

Open
mak638 wants to merge 3 commits into
mainfrom
minor-update-tunit
Open

mak638 wants to merge 3 commits into
mainfrom
minor-update-tunit

Conversation

@mak638

@mak638 mak638 commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

With this PR we aim to update the TUnit package for the TUnitTests to version 0.90.45. For newer TUnit versions on .NET 10 the legacy VSTest bridge is no longer supported. Instead TUnit natively supports running as a standalone executable via Microsoft.Testing.Platform (MTP). But since some of our older test projects don't support MTP we needed to split the "Run tests" step in our build pipeline. Therefore, we now run TUnitTests explicitly via MTP (configured via local global.json resp. solution filter file ArchUnitNET.mtp.slnf) and all other test projects (specified via solution filter file ArchUnitNET.vstest.slnf) as before via VSTest. Instead of having two separate pipeline steps we created a mise task running the two test runs as parallel mise tasks.

Independently, we updated the solution file to contain the new solution filters, as well as workflow and issue template files to improve the project structure and make it easier to edit those files via Visual Studio.

@codecov-commenter

codecov-commenter commented Aug 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.33%. Comparing base (dcf76a3) to head (3e6765f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #491   +/-   ##
=======================================
  Coverage   86.33%   86.33%           
=======================================
  Files         260      260           
  Lines       12496    12496           
  Branches     1216     1216           
=======================================
  Hits        10789    10789           
  Misses       1372     1372           
  Partials      335      335           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Malte Kunath <malte.kunath@tngtech.com>
…tests (using VSTest) via solution filter file

Signed-off-by: Malte Kunath <malte.kunath@tngtech.com>
Replace ArchUnit.TestsWithoutTUnit.slnf with ArchUnitNET.vstest.slnf
and ArchUnitNET.mtp.slnf, add mise tasks (test:vstest, test:mtp, test)
that run both groups in parallel, and simplify the CI workflow to a
single `mise run test` step.

Signed-off-by: Malte Kunath <malte.kunath@tngtech.com>

This branch has not been deployed

No deployments
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.

2 participants