Skip to content

Commit 3c2b378

Browse files
committed
Link to suppression
1 parent d63d6ae commit 3c2b378

File tree

16 files changed

+89
-12
lines changed

16 files changed

+89
-12
lines changed

docs/Rules/XIT0001.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ public class MyTests
4545
or remove class-level test case orderer and delegate it to the assembly-level one provided by the MSBuild property `<UseDependencyAwareTestCaseOrderer>true</UseDependencyAwareTestCaseOrderer>` (which is _ON_ by default). Another option is to inherit from `DependencyAwareTestCaseOrderer` which allows overriding the order of tests that don't affect declared topological order (i.e. tests on the same level of dependency)
4646

4747
## When to suppress
48-
Not recommended to suppress. Unless you're sure current orderer respects dependencies (i.e. custom implementation that takes into account `DependsOnCollectionsAttribute`)
48+
Not recommended to suppress. Unless you're sure current orderer respects dependencies (i.e. custom implementation that takes into account `DependsOnCollectionsAttribute`)
49+
50+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0002.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ Set the assembly-level `[TestCaseOrderer]` to `DependencyAwareTestCaseOrderer` m
3838
or use provided msbuild property `<UseDependencyAwareTestCaseOrderer>true</UseDependencyAwareTestCaseOrderer>`, which is _ON_ by default
3939

4040
## When to suppress
41-
Not recommended to suppress. Unless you're sure current orderer respects dependencies (i.e. custom implementation that takes into account `DependsOnCollectionsAttribute`)
41+
Not recommended to suppress. Unless you're sure current orderer respects dependencies (i.e. custom implementation that takes into account `DependsOnCollectionsAttribute`)
42+
43+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0003.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ Add an assembly-level or class-level `[TestCaseOrderer]`:
3535
```
3636

3737
or use the provided MSBuild property `<UseDependencyAwareTestCaseOrderer>true</UseDependencyAwareTestCaseOrderer>`, which is _ON_ by default
38+
39+
## When to suppress
40+
Not recommended to suppress, unless you're sure it's a bug.
41+
42+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0004.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ public void Test2() { }
3535
```
3636

3737
## When to suppress
38-
Not recommended to suppress, unless you're sure it's a bug.
38+
Not recommended to suppress, unless you're sure it's a bug.
39+
40+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0006.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ Add the assembly-level attribute (or set `UseDependencyAwareTestFramework` to `t
3737

3838
## When to suppress
3939
When you run all the necessary tests, or you don't care that running only some tests (via `--filter` in CLI or by selecting specific tests in Text Explorer) will not execute their dependencies that were not in the selected set of tests
40+
41+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0007.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ public class MyCustomFramework : DependencyAwareFramework
3535
Alternatively, if you don't need a custom framework, remove the `[assembly: TestFramework(...)]` attribute and use the provided MSBuild property `<UseDependencyAwareTestFramework>true</UseDependencyAwareTestFramework>` (which is _ON_ by default) or `<UseDependencySkippingFramework>true</UseDependencySkippingFramework>` for the skipping variant.
3636

3737
## When to suppress
38-
When you run all the necessary tests, or you don't care that running only some tests (via `--filter` in CLI or by selecting specific tests in Text Explorer) will not execute their dependencies that were not in the selected set of tests
38+
When you run all the necessary tests, or you don't care that running only some tests (via `--filter` in CLI or by selecting specific tests in Text Explorer) will not execute their dependencies that were not in the selected set of tests
39+
40+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0008.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ A code fix is available that performs this replacement automatically.
5151
Alternatively, set the MSBuild property `<UseDependencySkippingFramework>true</UseDependencySkippingFramework>` in your project file. This enables `DependencySkippingFramework`, which handles collection-level skipping at the runner level for all test attributes, suppressing this rule entirely.
5252

5353
## When to suppress
54-
Not recommended to suppress, unless you're sure it's a bug.
54+
Not recommended to suppress, unless you're sure it's a bug.
55+
56+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0009.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ public class MyCollectionDefinition { }
3434
```
3535

3636
## When to suppress
37-
Not recommended to suppress, unless you're sure it's a bug.
37+
Not recommended to suppress, unless you're sure it's a bug.
38+
39+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0010.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ public class MyCollectionDefinition { }
3131
```
3232

3333
## When to suppress
34-
Not recommended to suppress, unless you're sure it's a bug. With `DisableParallelization = false` - order of collections can't be enforced since they'll be running in parallel anyway, even after ordering.
34+
Not recommended to suppress, unless you're sure it's a bug. With `DisableParallelization = false` - order of collections can't be enforced since they'll be running in parallel anyway, even after ordering.
35+
36+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

docs/Rules/XIT0011.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ Add an assembly-level `[TestCollectionOrderer]` (or set `UseDependencyAwareTestC
3131
```
3232

3333
## When to suppress
34-
Not recommended to suppress, unless you're sure it's a bug.
34+
Not recommended to suppress, unless you're sure it's a bug.
35+
36+
See [How to suppress analyzer warnings](../Suppress-warnings.md) for suppression options.

0 commit comments

Comments
 (0)