Mid Testing

How do you categorize or group tests in MSTest?

Use the [TestCategory("CategoryName")] attribute to group tests for filtering.

[TestMethod]

[TestCategory("Integration")]

public void IntegrationTest() { }

More from C# Programming Tutorial

All questions for this course