Junior Testing

What is the difference between [Test] and [TestCase] in NUnit?

  • [Test] marks a standard test method without parameters.
  • [TestCase] provides inline parameter values to run the test multiple times with

different inputs.

More from C# Programming Tutorial

All questions for this course