Mid Testing

How do you categorize tests in NUnit?

Use the [Category("CategoryName")] attribute to group tests, allowing filtering by

category during test runs.

[Test, Category("Integration")]

public void IntegrationTest() { }

More from C# Programming Tutorial

All questions for this course