Skip to content

Commit 2a9cd11

Browse files
authored
enhance documentation on when the TestCleanup is executed (#709)
To me it was unclear if it's once per `[TestClass]` or once per `[TestMethod]`.
1 parent 93a129b commit 2a9cd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public sealed class TestInitializeAttribute : Attribute
120120
}
121121

122122
/// <summary>
123-
/// The test cleanup attribute.
123+
/// The test cleanup attribute marks methods that are executed after every test marked with a <see cref="TestMethodAttribute"/>.
124124
/// </summary>
125125
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
126126
public sealed class TestCleanupAttribute : Attribute

0 commit comments

Comments
 (0)