Skip to content

Commit cb1cfee

Browse files
authored
Update MSTest analyzer documentation for 4.0.0 (#48969)
* Update MSTest analyzer documentation for 4.0.0 * Apply suggestions from code review * Table formatting * Update unit-testing-mstest-migration-v3-v4.md
1 parent 5110fc7 commit cb1cfee

17 files changed

+61
-32
lines changed

docs/core/testing/mstest-analyzers/mstest0001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dev_langs:
2323
| **Category** | Performance |
2424
| **Fix is breaking or non-breaking** | Non-breaking |
2525
| **Enabled by default** | Yes |
26-
| **Default severity** | Info |
26+
| **Default severity** | Warning starting with 4.0.0, Info before |
2727
| **Introduced in version** | 3.2.0 |
2828
| **Is there a code fix** | No |
2929

docs/core/testing/mstest-analyzers/mstest0006.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dev_langs:
2727
| **Introduced in version** | 3.2.0 |
2828
| **Is there a code fix** | Yes, starting with 3.7.0 |
2929

30+
> [NOTE]
31+
> This analyzer is no longer relevant for MSTest 4 as the attribute was removed.
32+
3033
## Cause
3134

3235
A method is marked with the `[ExpectedException]` attribute.

docs/core/testing/mstest-analyzers/mstest0007.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: copoiena
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.3.0 |
2525
| **Is there a code fix** | Yes |
2626

docs/core/testing/mstest-analyzers/mstest0017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: amauryleve
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.4.0 |
2525
| **Is there a code fix** | Yes |
2626

docs/core/testing/mstest-analyzers/mstest0023.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ ms.author: amauryleve
1313
---
1414
# MSTEST0023: Do not negate boolean assertions
1515

16-
| Property | Value |
17-
|-------------------------------------|----------------------------------|
18-
| **Rule ID** | MSTEST0023 |
19-
| **Title** | Do not negate boolean assertions |
20-
| **Category** | Usage |
21-
| **Fix is breaking or non-breaking** | Non-breaking |
22-
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
24-
| **Introduced in version** | 3.4.0 |
25-
| **Is there a code fix** | No |
16+
| Property | Value |
17+
|-------------------------------------|------------------------------------------|
18+
| **Rule ID** | MSTEST0023 |
19+
| **Title** | Do not negate boolean assertions |
20+
| **Category** | Usage |
21+
| **Fix is breaking or non-breaking** | Non-breaking |
22+
| **Enabled by default** | Yes |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
24+
| **Introduced in version** | 3.4.0 |
25+
| **Is there a code fix** | No |
2626

2727
## Cause
2828

docs/core/testing/mstest-analyzers/mstest0024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: amauryleve
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.4.0 |
2525
| **Is there a code fix** | No |
2626

docs/core/testing/mstest-analyzers/mstest0025.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ ms.author: amauryleve
1717
|-------------------------------------|-------------------------------------------------------|
1818
| **Rule ID** | MSTEST0025 |
1919
| **Title** | Use 'Assert.Fail' instead of an always-failing assert |
20-
| **Category** | Design |
20+
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.4.0 |
2525
| **Is there a code fix** | Yes |
2626

docs/core/testing/mstest-analyzers/mstest0030.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: enjieid
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.5.0 |
2525
| **Is there a code fix** | No |
2626

docs/core/testing/mstest-analyzers/mstest0031.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: enjieid
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.5.0 |
2525
| **Is there a code fix** | No |
2626

docs/core/testing/mstest-analyzers/mstest0032.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.author: enjieid
2020
| **Category** | Usage |
2121
| **Fix is breaking or non-breaking** | Non-breaking |
2222
| **Enabled by default** | Yes |
23-
| **Default severity** | Info |
23+
| **Default severity** | Warning starting with 4.0.0, Info before |
2424
| **Introduced in version** | 3.5.0 |
2525
| **Is there a code fix** | No |
2626

0 commit comments

Comments
 (0)