Skip to content

Commit 8f2b9c1

Browse files
authored
Update MSTEST0003 to reflect that generic test methods are supported in 3.8+ (#44451)
1 parent 71f2326 commit 8f2b9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Test methods (methods marked with the `[TestMethod]` attribute) should follow th
3737

3838
- they should be `public` (or `internal` if `[assembly: DiscoverInternals]` attribute is set)
3939
- they should not be `static`
40-
- they should not be generic
40+
- they should not be generic if using MSTest 3.7 or earlier
4141
- they should not be `abstract`
4242
- they should return `void` or `Task`
4343
- they should not be `async void`

0 commit comments

Comments
 (0)