Skip to content

Commit 371bdda

Browse files
authored
Merge pull request #1052 from nunit/chore/update-analyzer-documentation-4.9.2
chore: Bump NUnit.Analyzer documentation to version 4.9.2
2 parents 38dd982 + b5f0c7d commit 371bdda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+926
-111
lines changed

docs/articles/nunit-analyzers/NUnit-Analyzers.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ Rules which enforce structural requirements on the test code.
5656
| [NUnit1031](NUnit1031.md) | The individual arguments provided by a ValuesAttribute must match the type of the corresponding parameter of the method | :white_check_mark: | :exclamation: | :x: |
5757
| [NUnit1032](NUnit1032.md) | An IDisposable field/property should be Disposed in a TearDown method | :white_check_mark: | :exclamation: | :x: |
5858
| [NUnit1033](NUnit1033.md) | The Write methods on TestContext will be marked as Obsolete and eventually removed | :white_check_mark: | :warning: | :white_check_mark: |
59+
| [NUnit1034](NUnit1034.md) | Base TestFixtures should be abstract | :white_check_mark: | :warning: | :white_check_mark: |
60+
| [NUnit1035](NUnit1035.md) | The 'step' parameter to Range cannot be zero | :white_check_mark: | :exclamation: | :x: |
61+
| [NUnit1036](NUnit1036.md) | The value for 'from' must be less than 'to' when 'step' is positive | :white_check_mark: | :exclamation: | :x: |
62+
| [NUnit1037](NUnit1037.md) | The value for 'from' must be greater than 'to' when 'step' is negative | :white_check_mark: | :exclamation: | :x: |
63+
| [NUnit1038](NUnit1038.md) | The type of the attribute values doesn't match the parameter type | :white_check_mark: | :exclamation: | :x: |
5964

6065
## Assertion Rules (NUnit2001 - )
6166

@@ -107,7 +112,7 @@ Rules which improve assertions in the test code.
107112
| [NUnit2042](NUnit2042.md) | Comparison constraint on object | :white_check_mark: | :information_source: | :x: |
108113
| [NUnit2043](NUnit2043.md) | Use ComparisonConstraint for better assertion messages in case of failure | :white_check_mark: | :information_source: | :white_check_mark: |
109114
| [NUnit2044](NUnit2044.md) | Non-delegate actual parameter | :white_check_mark: | :exclamation: | :white_check_mark: |
110-
| [NUnit2045](NUnit2045.md) | Use Assert.Multiple | :white_check_mark: | :information_source: | :white_check_mark: |
115+
| [NUnit2045](NUnit2045.md) | Use Assert.EnterMultipleScope or Assert.Multiple | :white_check_mark: | :information_source: | :white_check_mark: |
111116
| [NUnit2046](NUnit2046.md) | Use CollectionConstraint for better assertion messages in case of failure | :white_check_mark: | :information_source: | :white_check_mark: |
112117
| [NUnit2047](NUnit2047.md) | Incompatible types for Within constraint | :white_check_mark: | :warning: | :white_check_mark: |
113118
| [NUnit2048](NUnit2048.md) | Consider using Assert.That(...) instead of StringAssert(...) | :white_check_mark: | :warning: | :white_check_mark: |
@@ -117,6 +122,8 @@ Rules which improve assertions in the test code.
117122
| [NUnit2052](NUnit2052.md) | Consider using Assert.That(expr, Is.Negative) instead of ClassicAssert.Negative(expr) | :white_check_mark: | :information_source: | :white_check_mark: |
118123
| [NUnit2053](NUnit2053.md) | Consider using Assert.That(actual, Is.AssignableFrom(expected)) instead of ClassicAssert.IsAssignableFrom(expected, actual) | :white_check_mark: | :information_source: | :white_check_mark: |
119124
| [NUnit2054](NUnit2054.md) | Consider using Assert.That(actual, Is.Not.AssignableFrom(expected)) instead of ClassicAssert.IsNotAssignableFrom(expected, actual) | :white_check_mark: | :information_source: | :white_check_mark: |
125+
| [NUnit2055](NUnit2055.md) | Consider using Is.InstanceOf\<T> constraint instead of an 'is T' expression | :white_check_mark: | :information_source: | :white_check_mark: |
126+
| [NUnit2056](NUnit2056.md) | Consider using Assert.EnterMultipleScope statement instead of Assert.Multiple/Assert.MultipleAsync | :white_check_mark: | :information_source: | :white_check_mark: |
120127

121128
## Suppressor Rules (NUnit3001 - )
122129

@@ -136,4 +143,5 @@ Rules which help you write concise and readable NUnit test code.
136143

137144
| Id | Title | :mag: | :memo: | :bulb: |
138145
| :-- | :-- | :--: | :--: | :--: |
139-
| [NUnit4001](NUnit4001.md) | Simplify the Values attribute | :white_check_mark: | :information_source: | :x: |
146+
| [NUnit4001](NUnit4001.md) | Simplify the Values attribute | :white_check_mark: | :information_source: | :white_check_mark: |
147+
| [NUnit4002](NUnit4002.md) | Use Specific constraint | :white_check_mark: | :information_source: | :white_check_mark: |

docs/articles/nunit-analyzers/NUnit1001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
11+
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1002.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Warning
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
11+
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1003.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
11+
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1004.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
11+
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1005.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
11+
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1006.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
11+
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1007.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
11+
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1008.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Warning
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
11+
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
1212

1313
## Description
1414

docs/articles/nunit-analyzers/NUnit1009.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Severity | Error
99
| Enabled | True
1010
| Category | Structure
11-
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.4.0/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
11+
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
1212

1313
## Description
1414

0 commit comments

Comments
 (0)