All quizzes
Free quiz · 36 questions in the bank

NUnit quiz

Test your NUnit knowledge with a free interactive quiz — 36 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What NuGet packages does a typical NUnit test project need for `dotnet test` to work?

Questions in this quiz
  1. What NuGet packages does a typical NUnit test project need for `dotnet test` to work?
  2. What is the purpose of `[Order(n)]`?
  3. How do you mark a method as a test?
  4. How do you skip a test?
  5. How do you assert that code throws a specific exception?
  6. How do you assert on string content?
  7. How do you assert on multiple properties of an object at once, readably?
  8. How do you mark a class as containing tests?
  9. How do you assert a collection contains a specific item?
  10. Which command-line tool runs NUnit tests outside an IDE?
  11. How do you assert a floating point comparison with a tolerance?
  12. What does `[Category("Integration")]` do?
Gaps to close?
Read the curated NUnit notes — core concepts, patterns, interview prep.
NUnit notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web