Multiple choice technology programming languages

In the NUnit test framework, which attribute must adorn a test class in order for it to be picked up by the NUnit GUI?

  1. TestAttribute

  2. TestClassAttribute

  3. TestFixtureAttribute

  4. NUnitTestClassAttribute

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In the NUnit test framework, the TestFixtureAttribute is applied to a class to designate it as containing executable tests, allowing the NUnit GUI or runner to identify it. TestClassAttribute is used in MS Test, and TestAttribute is used on individual test methods rather than the class.