Java Test Automation / Quiz

@ParameterizedTest: Five Sources, One Method

@ValueSource, @CsvSource, @MethodSource and friends, Jupiter's data-driven toolkit and the extra dependency it hides behind.

Difficulty
Medium
Format
Quiz
Points
150
Estimate
9 min

// MISSION BRIEF

Your Mission

Jupiter's answer to TestNG's DataProvider is @ParameterizedTest plus a family of source annotations. Each source has a shape: one argument, several, streamed, enum-driven, or file-fed.

This quiz maps the family: which source fits which data, what @MethodSource requires, and the packaging detail that makes the whole feature compile.

// FIRST CONTACT

Battle teaser

@ParameterizedTest lives in which artifact?

  1. Ajunit-vintage-engine
  2. Bjunit-jupiter-params, a separate dependency from the core jupiter API
  3. Cjunit-jupiter-api, no extra dependency
  4. Dhamcrest-core
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

javajunit5parameterized