All quizzes
Free quiz · 39 questions in the bank

JUnit 5 quiz

Test your JUnit 5 knowledge with a free interactive quiz — 39 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does @CsvSource let you provide to a parameterized test that @ValueSource cannot?

In this round
  1. What does @CsvSource let you provide to a parameterized test that @ValueSource cannot?
  2. What does @ParameterizedTest allow a test method to do?
  3. What are the three components that together make up "JUnit 5"?
  4. What does @Nested do when applied to an inner class inside a Jupiter test class?
  5. What does assertAll(...) do differently from writing several plain assertEquals calls in sequence?
  6. In Jupiter, how is assertThrows typically written?
  7. What does @MethodSource point to?
  8. What does @EnumSource(CustomerTier.class) do in a parameterized test?
  9. Which package do JUnit Jupiter's core annotations live in?
  10. What does @DisplayName do on a Jupiter test method?
  11. What is JUnit Jupiter?
  12. What is the purpose of the JUnit Vintage engine?
Gaps to close?
Read the curated JUnit 5 notes — core concepts, patterns, interview prep.
JUnit 5 notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid