Skip to content

Commit 3a97c6c

Browse files
authored
Update mstest0010.md (dotnet#41913)
* Update mstest0010.md * Update mstest0010.md
1 parent f6f3d70 commit 3a97c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Methods marked with `[ClassInitialize]` should follow the following layout to be
3939
- it should not be generic
4040
- it should take one parameter of type `TestContext`
4141
- return type should be `void`, `Task` or `ValueTask`
42+
- `InheritanceBehavior.BeforeEachDerivedClass` attribute parameter should be specified if the class is `abstract`.
4243

4344
[!INCLUDE [test-class-rules](includes/test-class-rules.md)]
4445

0 commit comments

Comments
 (0)