From 2a9cd11576f6dcc4440c94f0eb36ce1e57bcc954 Mon Sep 17 00:00:00 2001 From: hf-kklein Date: Fri, 5 Jun 2020 09:52:39 +0200 Subject: [PATCH] enhance documentation on when the TestCleanup is executed (#709) To me it was unclear if it's once per `[TestClass]` or once per `[TestMethod]`. --- src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs b/src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs index 971a1c3584..32aac7bf0b 100644 --- a/src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs +++ b/src/TestFramework/MSTest.Core/Attributes/VSTestAttributes.cs @@ -120,7 +120,7 @@ public sealed class TestInitializeAttribute : Attribute } /// - /// The test cleanup attribute. + /// The test cleanup attribute marks methods that are executed after every test marked with a . /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class TestCleanupAttribute : Attribute