Skip to content

Commit

Permalink
enhance documentation on when the TestCleanup is executed (#709)
Browse files Browse the repository at this point in the history
To me it was unclear if it's once per `[TestClass]` or once per `[TestMethod]`.
  • Loading branch information
hf-kklein authored Jun 5, 2020
1 parent 93a129b commit 2a9cd11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public sealed class TestInitializeAttribute : Attribute
}

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

0 comments on commit 2a9cd11

Please sign in to comment.