Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/articles/nunit-analyzers/NUnit-Analyzers.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ Rules which improve assertions in the test code.
| [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: |
| [NUnit2055](NUnit2055.md) | Consider using Is.InstanceOf\<T> constraint instead of an 'is T' expression | :white_check_mark: | :information_source: | :white_check_mark: |
| [NUnit2056](NUnit2056.md) | Consider using Assert.EnterMultipleScope statement instead of Assert.Multiple/Assert.MultipleAsync | :white_check_mark: | :information_source: | :white_check_mark: |
| [NUnit2057](NUnit2057.md) | Remove unnecessary lambda expression | :white_check_mark: | :information_source: | :white_check_mark: |
| [NUnit2058](NUnit2058.md) | The constraint is misused | :white_check_mark: | :warning: | :white_check_mark: |

## Suppressor Rules (NUnit3001 - )

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1001.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1002.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Warning
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1003.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1004.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)
| Code | [TestCaseUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseUsage/TestCaseUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1005.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1006.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1007.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1008.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Warning
| Enabled | True
| Category | Structure
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1009.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1010.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)
| Code | [ParallelizableUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ParallelizableUsage/ParallelizableUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1011.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1012.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1013.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1014.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1015.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1016.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1017.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1018.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1019.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1020.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1021.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Warning
| Enabled | True
| Category | Structure
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1022.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1023.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1024.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1025.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)
| Code | [ValueSourceUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValueSourceUsage/ValueSourceUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1026.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodAccessibilityLevelAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodAccessibilityLevel/TestMethodAccessibilityLevelAnalyzer.cs)
| Code | [TestMethodAccessibilityLevelAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodAccessibilityLevel/TestMethodAccessibilityLevelAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1027.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)
| Code | [TestMethodUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestMethodUsage/TestMethodUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1028.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Info
| Enabled | True
| Category | Structure
| Code | [NonTestMethodAccessibilityLevelAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/NonTestMethodAccessibilityLevel/NonTestMethodAccessibilityLevelAnalyzer.cs)
| Code | [NonTestMethodAccessibilityLevelAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/NonTestMethodAccessibilityLevel/NonTestMethodAccessibilityLevelAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1029.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1030.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)
| Code | [TestCaseSourceUsesStringAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestCaseSourceUsage/TestCaseSourceUsesStringAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1031.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [ValuesUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ValuesUsage/ValuesUsageAnalyzer.cs)
| Code | [ValuesUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ValuesUsage/ValuesUsageAnalyzer.cs)

## Description

Expand Down
19 changes: 18 additions & 1 deletion docs/articles/nunit-analyzers/NUnit1032.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [DisposeFieldsAndPropertiesInTearDownAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/DisposeFieldsAndPropertiesInTearDown/DisposeFieldsAndPropertiesInTearDownAnalyzer.cs)
| Code | [DisposeFieldsAndPropertiesInTearDownAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/DisposeFieldsAndPropertiesInTearDown/DisposeFieldsAndPropertiesInTearDownAnalyzer.cs)

## Description

Expand Down Expand Up @@ -72,6 +72,23 @@ the following line.
dotnet_diagnostic.NUnit1032.additional_dispose_methods = Quit, Exit
```

## Specifying additional SetUp and TearDown methods

The analyzer can only analyze the current class and doesn't know if an `overridden` method
is called from the base class' (OneTime)SetUp and (OneTime)TearDown methods.
It is possible to specify those methods in the `.editorconfig`
and have the analyzer treat them like SetUp and TearDown methods.
There are four configurations for this:

* `dotnet_diagnostic.NUnit.additional_setup_methods`
* `dotnet_diagnostic.NUnit.additional_teardown_methods`
* `dotnet_diagnostic.NUnit.additional_one_time_setup_methods`
* `dotnet_diagnostic.NUnit.additional_one_time_teardown_methods`

The configuration accepts a list of method names - separated by either comma, semicolon, or space.

Note that this configuration is shared with the [NUnit 3002](./NUnit3002.md) analyzer.

<!-- start generated config severity -->
## Configure severity

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1033.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Warning
| Enabled | True
| Category | Structure
| Code | [TestContextWriteIsObsoleteAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestContextWriteIsObsolete/TestContextWriteIsObsoleteAnalyzer.cs)
| Code | [TestContextWriteIsObsoleteAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestContextWriteIsObsolete/TestContextWriteIsObsoleteAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1034.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Warning
| Enabled | True
| Category | Structure
| Code | [TestFixtureShouldBeAbstractAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/TestFixtureShouldBeAbstract/TestFixtureShouldBeAbstractAnalyzer.cs)
| Code | [TestFixtureShouldBeAbstractAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/TestFixtureShouldBeAbstract/TestFixtureShouldBeAbstractAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1035.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1036.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1037.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit1038.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Error
| Enabled | True
| Category | Structure
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)
| Code | [RangeUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/RangeUsage/RangeUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit2001.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Info
| Enabled | True
| Category | Assertion
| Code | [ClassicModelAssertUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ClassicModelAssertUsage/ClassicModelAssertUsageAnalyzer.cs)
| Code | [ClassicModelAssertUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ClassicModelAssertUsage/ClassicModelAssertUsageAnalyzer.cs)

## Description

Expand Down
2 changes: 1 addition & 1 deletion docs/articles/nunit-analyzers/NUnit2002.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Severity | Info
| Enabled | True
| Category | Assertion
| Code | [ClassicModelAssertUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.9.2/src/nunit.analyzers/ClassicModelAssertUsage/ClassicModelAssertUsageAnalyzer.cs)
| Code | [ClassicModelAssertUsageAnalyzer](https://github.com/nunit/nunit.analyzers/blob/4.12.0/src/nunit.analyzers/ClassicModelAssertUsage/ClassicModelAssertUsageAnalyzer.cs)

## Description

Expand Down
Loading