Skip to content

Enhance mutation testing documentation with new sections - #50594

Merged
BillWagner merged 8 commits into
dotnet:mainfrom
cosminvladutu:patch-2
Dec 1, 2026
Merged

BillWagner merged 8 commits into
dotnet:mainfrom
cosminvladutu:patch-2

Conversation

@cosminvladutu

@cosminvladutu cosminvladutu commented Dec 16, 2025 •

Copy link
Copy Markdown
Contributor

Added sections on interpreting mutation testing results, integrating Stryker.NET into CI/CD workflows, and customization options for mutation testing configurations.


Internal previews

File Preview link
docs/core/testing/mutation-testing.md Learn preview

Build report

Added sections on interpreting mutation testing results, integrating Stryker.NET into CI/CD workflows, and customization options for mutation testing configurations.
Copilot AI review requested due to automatic review settings December 16, 2025 09:04
@cosminvladutu
cosminvladutu requested review from a team and IEvangelist as code owners December 16, 2025 09:04
@dotnetrepoman dotnetrepoman Bot added this to the December 2025 milestone Dec 16, 2025
@dotnet-policy-service dotnet-policy-service Bot added dotnet-fundamentals/svc community-contribution Indicates PR is created by someone from the .NET community. labels Dec 16, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the mutation testing documentation by adding three new sections that provide practical guidance for developers. The additions help users understand how to interpret mutation testing results, integrate Stryker.NET into CI/CD pipelines, and customize mutation testing configurations for their specific needs.

  • Adds guidance on interpreting mutation testing results (killed, survived, and timeout mutants)
  • Introduces CI/CD integration information with threshold configuration examples
  • Provides customization options through stryker-config.json file examples

Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
cosminvladutu and others added 3 commits December 16, 2025 11:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@cosminvladutu

Copy link
Copy Markdown
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

@BillWagner

Copy link
Copy Markdown
Member

@Youssef1313 @Evangelink PTAL.

Added information about customization options in Stryker.NET.
Added a blank line as linter asked

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 12 comments.

Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
@cosminvladutu

Copy link
Copy Markdown
Contributor Author

@copilot open a new pull request to apply changes based on the comments in this thread

@cosminvladutu

Copy link
Copy Markdown
Contributor Author

@BillWagner & @Evangelink , can one of you review this?

@BillWagner

Copy link
Copy Markdown
Member

@Evangelink Can you take a look?

@cosminvladutu Can you resolve the latest conflicts?

@Evangelink Evangelink left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for expanding the guide. The new sections are useful, but the configuration examples and two behavior descriptions need correction before this is ready to merge.

I reproduced the missing-root and invalid-mutator errors with Stryker.NET 4.14.1 and checked the CI threshold and method-filter behavior against Stryker's documentation, implementation, and regression tests. I've left four inline comments for those issues. The missing comma in the customization example is also still present; that's already covered by an existing thread, so I haven't duplicated it.

Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
@cosminvladutu
cosminvladutu requested review from a team and BillWagner as code owners November 30, 2026 10:51
cosminvladutu and others added 2 commits November 30, 2026 12:58
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add stryker-config root to thresholds example, use a nonzero break threshold and explain its exit-code behavior, and clarify that ignore-methods filters method calls rather than method bodies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the documentation changes clarifying mutation-testing CI thresholds and method exclusions.

No open issues 🎉

Review effort: Balanced

Comment thread docs/core/testing/mutation-testing.md Resolved
Comment thread docs/core/testing/mutation-testing.md Resolved
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

@Evangelink Evangelink left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two addressed findings are resolved. I reviewed the updated documentation and confirmed the OpenPublishing.Build, PoliCheck Scan, and license/cla checks pass.

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, and I'll :shipit: now.

@BillWagner
BillWagner merged commit f1a86ac into dotnet:main Dec 1, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants