Repository navigation
chore(stryker): remove redundant test-projects list from config - #257
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #257 +/- ##
=======================================
Coverage 90.10% 90.10%
=======================================
Files 31 31
Lines 728 728
Branches 85 85
=======================================
Hits 656 656
Misses 63 63
Partials 9 9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The config runs Stryker in solution mode, where test projects are discovered from ProjectBuilders.slnx and the test-projects key is not used. The list also named tests/NetEvolve.ProjectBuilders.Tests.Integration, which is not part of the solution. Dropping the key removes the misleading entry; the analysed test projects stay the same.
samtrion
force-pushed
the
fix/stryker-orphan-tests-integration-project
branch
from
November 4, 2026 01:05
36ada7c to
ab0c61c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
stryker-config.jsonlists four entries undertest-projects, one of which (tests/NetEvolve.ProjectBuilders.Tests.Integration) is not part ofProjectBuilders.slnx. The key is misleading dead config. The latest successful mutation run analyses exactly the three slnx test projects (Tests.Unit, XUnit.Tests.Integration, TUnit.Tests.Integration) and never mentions the orphan.Root cause
The config uses
"solution": "ProjectBuilders.slnx". In Stryker 5.0.0 solution mode, test projects are discovered from the solution andtest-projectshas no effect (read from the 5.0.0 source and corroborated by the existing log). The list is therefore redundant, and one entry is stale.Change
Remove the
test-projectsarray fromstryker-config.json(6 lines deleted). The orphan project itself and the README references to it are intentionally left for a separate change.Before / After
Run: https://github.com/dailydevops/projectbuilders/actions/runs/40809851770 (workflow_dispatch on this branch) vs. the latest successful run on main.
test-projectsentriesAs expected, nothing changed in the Stryker run; this is a pure config cleanup.
Risk / what this does not change
No behaviour change expected in solution mode. Does not delete the empty
Tests.Integrationproject and does not touch the README. No score improvement is claimed.