chore: Bump documentation to NUnit.Analyzers version 4.12.0#1150
Merged
chore: Bump documentation to NUnit.Analyzers version 4.12.0#1150
Conversation
Added two new analyzers: `NUnit2057` and `NUnit2058` and added some more information to: * `NUnit1032` and `NUnit3002` - as they now share configuration for specifying additional `SetUp` and `TearDown` methods * `NUnit2021` about comparing non-floating point values against `NaN`
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the NUnit analyzer documentation set to align with NUnit.Analyzers v4.12.0, including adding documentation for newly introduced analyzers and extending guidance for a few existing rules.
Changes:
- Bump analyzer “Code” source links across the docs to reference
nunit.analyzerstag4.12.0. - Add new documentation pages for analyzers NUnit2057 and NUnit2058, and link them from the TOC and analyzer index.
- Expand documentation for NUnit1032, NUnit3002 (shared SetUp/TearDown configuration), and NUnit2021 (NaN comparison clarification).
Reviewed changes
Copilot reviewed 104 out of 104 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/articles/nunit-analyzers/toc.yml | Adds TOC entries for NUnit2057 and NUnit2058 docs pages. |
| docs/articles/nunit-analyzers/NUnit-Analyzers.md | Adds NUnit2057/NUnit2058 rows to the analyzer index table. |
| docs/articles/nunit-analyzers/NUnit1001.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1002.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1003.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1004.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1005.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1006.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1007.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1008.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1009.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1010.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1011.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1012.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1013.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1014.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1015.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1016.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1017.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1018.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1019.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1020.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1021.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1022.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1023.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1024.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1025.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1026.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1027.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1028.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1029.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1030.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1031.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1032.md | Updates “Code” source link to 4.12.0; adds shared .editorconfig guidance for additional SetUp/TearDown methods. |
| docs/articles/nunit-analyzers/NUnit1033.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1034.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1035.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1036.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1037.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit1038.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2001.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2002.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2003.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2004.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2005.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2006.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2007.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2008.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2009.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2010.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2011.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2012.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2013.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2014.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2015.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2016.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2017.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2018.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2019.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2020.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2021.md | Updates “Code” source link to 4.12.0; adds clarification about invalid comparisons against NaN for non-floating-point types. |
| docs/articles/nunit-analyzers/NUnit2022.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2023.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2024.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2025.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2026.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2027.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2028.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2029.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2030.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2031.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2032.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2033.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2034.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2035.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2036.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2037.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2038.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2039.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2040.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2041.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2042.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2043.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2044.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2045.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2046.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2047.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2048.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2049.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2050.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2051.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2052.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2053.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2054.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2055.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2056.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit2057.md | Adds new documentation page for analyzer NUnit2057. |
| docs/articles/nunit-analyzers/NUnit2058.md | Adds new documentation page for analyzer NUnit2058. |
| docs/articles/nunit-analyzers/NUnit3001.md | Updates “Code” source link and ruleset link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit3002.md | Updates “Code” source link and ruleset link to 4.12.0; adds shared .editorconfig guidance for additional SetUp methods. |
| docs/articles/nunit-analyzers/NUnit3003.md | Updates “Code” source link and ruleset link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit3004.md | Updates “Code” source link and ruleset link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit4001.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
| docs/articles/nunit-analyzers/NUnit4002.md | Updates “Code” source link to nunit.analyzers 4.12.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
github-actions bot
pushed a commit
that referenced
this pull request
Mar 7, 2026
…on-4.12.0 chore: Bump documentation to NUnit.Analyzers version 4.12.0 12ebd13
mikkelbu
added a commit
to nunit/nunit.analyzers
that referenced
this pull request
Mar 7, 2026
Backported from review comments on nunit/docs#1150
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.
Added two new analyzers:
NUnit2057andNUnit2058and added some more information to:NUnit1032andNUnit3002- as they now share configuration for specifying additionalSetUpandTearDownmethodsNUnit2021about comparing non-floating point values againstNaN